public final class FieldInfo extends Object implements Comparable<FieldInfo>, Getter, Setter
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FieldInfo o) |
static FieldInfo |
create(Field field) |
Object |
get(Object object) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
KlassInfo |
getDeclaringKlass() |
Field |
getField() |
Type |
getGenericType() |
int |
getModifiers() |
String |
getName() |
int |
getOffset() |
Class<?> |
getRawComponentType(Class<?> declaringClass,
int componentIndex) |
Class<?> |
getRawType(Class<?> declaringClass) |
Class<?> |
getRawType(KlassInfo declaringKlass) |
Class<?> |
getType() |
<T extends Annotation> |
isAnnotationPresent(Class<T> annotationClass) |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isTransient() |
void |
set(Object object,
Object value) |
String |
toString() |
public KlassInfo getDeclaringKlass()
public String getName()
public Field getField()
public int getOffset()
public Class<?> getType()
public Type getGenericType()
public Class<?> getRawComponentType(Class<?> declaringClass, int componentIndex)
public Annotation[] getAnnotations()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationClass)
public int getModifiers()
public boolean isStatic()
public boolean isFinal()
public boolean isPrivate()
public boolean isProtected()
public boolean isPublic()
public boolean isTransient()
public int compareTo(FieldInfo o)
compareTo in interface Comparable<FieldInfo>Copyright © 2016 jetbrick. All rights reserved.