public final class FieldDescriptor extends JavaMemberDescriptor<Field> implements Property
declaringType| Constructor and Description |
|---|
FieldDescriptor(TypeDescriptor typeDescriptor,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
get(Object obj) |
String |
getName() |
Object |
getStatic() |
TypeDescriptor |
getType() |
int |
hashCode() |
boolean |
isReadable() |
boolean |
isReadableFrom(TypeDescriptor typeDescriptor) |
boolean |
isTransient() |
boolean |
isWritable() |
boolean |
isWritableFrom(TypeDescriptor typeDescriptor) |
void |
set(Object obj,
Object value) |
void |
setStatic(Object value) |
String |
toString() |
isAbstract, isFinal, isStatic, isSyntheticgetAnnotation, getAnnotations, getDeclaringType, hasAnnotationpublic FieldDescriptor(TypeDescriptor typeDescriptor, Field field)
public Object getStatic()
public boolean isReadable()
isReadable in interface Propertypublic boolean isReadableFrom(TypeDescriptor typeDescriptor)
isReadableFrom in interface Propertypublic boolean isWritable()
isWritable in interface Propertypublic boolean isWritableFrom(TypeDescriptor typeDescriptor)
isWritableFrom in interface Propertypublic void setStatic(Object value)
public boolean isTransient()
public TypeDescriptor getType()
public final int hashCode()
hashCode in class MemberDescriptorpublic final boolean equals(Object obj)
equals in class MemberDescriptorpublic String getName()
Copyright © 2016. All rights reserved.