public static class SClassReader.FieldInfo extends SClassReader.ClassEntity
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fielddesc
The field descriptor.
|
protected java.lang.String |
fieldname
The field name.
|
accessflags, annotations
Modifier | Constructor and Description |
---|---|
protected |
FieldInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFieldDescriptor()
Get the field descriptor.
|
java.lang.String |
getFieldName()
Get the field name.
|
boolean |
isEnum()
Tests if field is an enum.
|
boolean |
isTransient()
Tests if field is transient.
|
boolean |
isVolatile()
Tests if field is volatile.
|
protected void |
setFieldDescriptor(java.lang.String fielddesc)
Set the field descriptor.
|
protected void |
setFieldName(java.lang.String fieldname)
Set the field name.
|
isPrivate, isProtected, isStatic
getAccessFlags, getAnnotation, getAnnotations, hasAnnotation, isFinal, isPublic, isSynthetic, setAccessFlags, setAnnotations
protected java.lang.String fieldname
protected java.lang.String fielddesc
public java.lang.String getFieldName()
public java.lang.String getFieldDescriptor()
public boolean isVolatile()
public boolean isTransient()
public boolean isEnum()
protected void setFieldName(java.lang.String fieldname)
fieldname
- the field name to setprotected void setFieldDescriptor(java.lang.String fielddesc)
fielddesc
- the field descriptor to set