| Modifier and Type | Field and Description |
|---|---|
| private final CstFieldRef | field
|
| Access | Constructor and Description |
|---|---|
| public | EncodedField(CstFieldRef
non-null; constant for the fieldaccess flags accessFlags)Constructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContents(DexFile
non-null; the file to populateImplements abstract org. DexFile with items from within this instance.
|
| public int | compareTo(EncodedField
the object to be compared. other)Implements java. |
| public void | debugPrint(PrintWriter
non-null; where to dumpwhether to be verbose with the output verbose)Implements abstract org. |
| public int | encode(DexFile
non-null; file this instance is part ofnon-null; where to write to>= 0; the previous member index value encoded, or
0 if this is the first element to encode>= 0; sequence number of this instance for
annotation purposesImplements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public CstString | getName()
Implements abstract org. |
| public CstFieldRef | |
| public int | |
| public String | toHuman()
Implements org. |
| public String |
| field | back to summary |
|---|---|
| private final CstFieldRef field
| |
| EncodedField | back to summary |
|---|---|
| public EncodedField(CstFieldRef field, int accessFlags) Constructs an instance.
| |
| addContents | back to summary |
|---|---|
| public void addContents(DexFile file) Implements abstract org. Doc from org. Populates a | |
| compareTo | back to summary |
|---|---|
| public int compareTo(EncodedField other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that Note This compares the method constants only, ignoring any associated code, because it should never be the case that two different items with the same method constant ever appear in the same list (or same file, even).
| |
| debugPrint | back to summary |
|---|---|
| public void debugPrint(PrintWriter out, boolean verbose) Implements abstract org. Doc from org. Does a human-friendly dump of this instance.
| |
| encode | back to summary |
|---|---|
| public int encode(DexFile file, AnnotatedOutput out, int lastIndex, int dumpSeq) Implements abstract org. Doc from org. Encodes this instance to the given output.
| |
| 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.
| |
| getName | back to summary |
|---|---|
| public CstString getName() Implements abstract org. Doc from org. Gets the name. | |
| getRef | back to summary |
|---|---|
| public CstFieldRef getRef() Gets the constant for the field.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toHuman | back to summary |
|---|---|
| public String toHuman() Implements org. Doc from org. Return the "human" string form of this instance. This is
generally less "debuggy" than
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |