Field constant for a given type.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | FieldConstant.Cached
A cached version of a |
| Modifier and Type | Field and Description |
|---|---|
| private final FieldDescription. | fieldDescription
The field to be represent as a |
| Access | Constructor and Description |
|---|---|
| public | FieldConstant(FieldDescription.
The field to be represent as a fieldDescriptionField.Creates a new field constant. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements net. |
| public StackManipulation | Returns: A cached version of this field constant.Returns a cached version of this field constant. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int |
| fieldDescription | back to summary |
|---|---|
| private final FieldDescription. The field to be represent as a | |
| FieldConstant | back to summary |
|---|---|
| public FieldConstant(FieldDescription. Creates a new field constant.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| cached | back to summary |
|---|---|
| public StackManipulation cached() Returns a cached version of this field constant.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
FieldConstant.
| Modifier and Type | Field and Description |
|---|---|
| private final StackManipulation | fieldConstant
The field constant stack manipulation. |
| Access | Constructor and Description |
|---|---|
| public | Cached(StackManipulation
The field constant stack manipulation. fieldConstant)Creates a new cached version of a field constant. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements net. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public boolean | isValid()
Implements net. |
| fieldConstant | back to summary |
|---|---|
| private final StackManipulation fieldConstant The field constant stack manipulation. | |
| Cached | back to summary |
|---|---|
| public Cached(StackManipulation fieldConstant) Creates a new cached version of a field constant.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements net. Doc from net. Determines if this stack manipulation is valid.
| |