com.hazelcast.query.impl.getters
public final class ReflectionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Comparable |
extractValue(Object object,
String attributeName) |
static AttributeType |
getAttributeType(Class klass) |
static AttributeType |
getAttributeType(Object value,
String attribute) |
static <T> T |
invokeMethod(Object object,
String methodName) |
static void |
reset() |
public static AttributeType getAttributeType(Class klass)
public static void reset()
public static AttributeType getAttributeType(Object value, String attribute)
public static Comparable extractValue(Object object, String attributeName) throws Exception
Exception
public static <T> T invokeMethod(Object object, String methodName) throws RuntimeException
RuntimeException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.