class APFieldInfo extends APMetadataInfo implements FieldInfo
Modifier and Type | Field and Description |
---|---|
private javax.lang.model.element.VariableElement |
ve |
processEnv
Constructor and Description |
---|
APFieldInfo(javax.annotation.processing.ProcessingEnvironment processEnv,
javax.lang.model.element.VariableElement ve) |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annClass) |
ClassInfo |
getDeclaringClass() |
java.lang.String |
getName() |
ClassInfo |
getType() |
boolean |
isFinal() |
boolean |
isPublic() |
boolean |
isStatic() |
java.lang.String |
toString() |
getElement
public APFieldInfo(javax.annotation.processing.ProcessingEnvironment processEnv, javax.lang.model.element.VariableElement ve)
public java.lang.String getName()
public ClassInfo getType()
public boolean isPublic()
public boolean isStatic()
public boolean isFinal()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annClass)
getAnnotation
in interface FieldInfo
T
- annotation typeannClass
- annotation classpublic ClassInfo getDeclaringClass()
getDeclaringClass
in interface FieldInfo
public java.lang.String toString()
toString
in class java.lang.Object