public class FieldContainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ftbsc.lll.mapper.data.FieldData |
data
The
FieldData for the field represented by this container. |
java.lang.String |
descriptor
The descriptor of the field.
|
java.lang.String |
descriptorObf
The obfuscated descriptor of the field.
|
javax.lang.model.element.VariableElement |
elem
The
VariableElement corresponding to the field. |
ClassContainer |
parent
The
ClassContainer representing the parent of this field. |
Modifier and Type | Method and Description |
---|---|
static FieldContainer |
from(javax.lang.model.element.VariableElement finder,
ProcessorOptions options)
Finds a
FieldContainer from a finder. |
public final ftbsc.lll.mapper.data.FieldData data
FieldData
for the field represented by this container.public final java.lang.String descriptor
public final java.lang.String descriptorObf
descriptor
.public final ClassContainer parent
ClassContainer
representing the parent of this field.public final javax.lang.model.element.VariableElement elem
VariableElement
corresponding to the field.
May only be null intentionally i.e. when the field is
a child of an anonymous class.public static FieldContainer from(javax.lang.model.element.VariableElement finder, ProcessorOptions options)
FieldContainer
from a finder.finder
- the VariableElement
annotated with Find
for this fieldoptions
- the ProcessorOptions
to be usedFieldContainer