| Constructor and Description |
|---|
PropertyInfo(String type,
String name,
MethodInfo getter,
MethodInfo setter)
Construct a new PropertyInfo
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyInfo |
fromField(String type,
String name)
Create a PropertyInfo based on field details
|
static PropertyInfo |
fromGetter(MethodInfo getter)
Create a PropertyInfo based on a getter-method
|
MethodInfo |
getGetter()
Get the getter-method
|
MethodInfo |
getSetter()
Get the setter-method
|
List |
getTags(String name)
Get all tags with the given name.
|
getContainingClass, setContainingClassgetModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, setAbstract, setFinal, setPrivate, setProtected, setPublic, setStaticaddTag, addTag, addTags, clone, getComment, getName, getTag, getTags, getTagValue, getTagValue, setComment, setNamepublic PropertyInfo(String type, String name, MethodInfo getter, MethodInfo setter)
public static PropertyInfo fromField(String type, String name)
type - data-typename - field-namepublic static PropertyInfo fromGetter(MethodInfo getter)
getter - field getter-methodpublic MethodInfo getGetter()
public MethodInfo getSetter()