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