public class Reflector extends Object
Modifier and Type | Method and Description |
---|---|
String |
findPropertyName(String name) |
static Reflector |
forClass(Class<?> clazz) |
Constructor<?> |
getDefaultConstructor() |
String[] |
getGetablePropertyNames() |
Invoker |
getGetInvoker(String propertyName) |
Class<?> |
getGetterType(String propertyName) |
String[] |
getSetablePropertyNames() |
Invoker |
getSetInvoker(String propertyName) |
Class<?> |
getSetterType(String propertyName) |
Class<?> |
getType() |
boolean |
hasGetter(String propertyName) |
boolean |
hasSetter(String propertyName) |
static boolean |
isClassCacheEnabled() |
static void |
setClassCacheEnabled(boolean classCacheEnabled) |
public Class<?> getType()
public Constructor<?> getDefaultConstructor()
public String[] getGetablePropertyNames()
public String[] getSetablePropertyNames()
public boolean hasSetter(String propertyName)
public boolean hasGetter(String propertyName)
public static void setClassCacheEnabled(boolean classCacheEnabled)
public static boolean isClassCacheEnabled()
Copyright © 2010–2016 MyBatis.org. All rights reserved.