com.pnfsoftware.jeb.core.units.code.java.IJavaField |
Java AST interface to represent a Java field.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaField |
duplicate()
Duplicate this element.
| ||||||||||
abstract void | generateName(JavaOutputSink out, boolean definition, String alternateName, boolean generated) | ||||||||||
abstract void | generateName(JavaOutputSink out, boolean definition) | ||||||||||
abstract int | getAccessFlags() | ||||||||||
abstract List<IJavaAnnotation> | getAnnotations() | ||||||||||
abstract IJavaType | getClassType() | ||||||||||
abstract IJavaExpression |
getInitialValue()
Get the static initialization value, if any.
| ||||||||||
abstract String |
getName()
Get the original field name.
| ||||||||||
abstract String |
getSignature()
Get the field signature.
| ||||||||||
abstract IJavaType |
getType()
Get the field type.
| ||||||||||
abstract boolean |
isStatic()
Determine whether or not this field is static.
| ||||||||||
abstract boolean | isSynthetic() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaDecompilableElement
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
|
Duplicate this element.
alternateName | alternate name (AST only, dynamically provided by the caller, not persisted) to be used if and only if the DCM cannot provide a better name (eg, the field was renamed at the DEX level) |
---|---|
generated | true to render the field name with
FIELD_NAME_GENERATED instead of
FIELD_NAME
|
Get the static initialization value, if any. Only for static fields.
Get the original field name.
Get the field signature. Convenience routine.
Format: classSignature->fieldName:type
Determine whether or not this field is static.