public class Reflector extends Object
Modifier and Type | Method and Description |
---|---|
String |
findPropertyName(String name) |
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 |
hasDefaultConstructor() |
boolean |
hasGetter(String propertyName) |
boolean |
hasSetter(String propertyName) |
public Reflector(Class<?> clazz)
public Class<?> getType()
public Constructor<?> getDefaultConstructor()
public boolean hasDefaultConstructor()
public String[] getGetablePropertyNames()
public String[] getSetablePropertyNames()
public boolean hasSetter(String propertyName)
public boolean hasGetter(String propertyName)
Copyright © 2010–2015 MyBatis.org. All rights reserved.