public abstract class EncodedMember extends java.lang.Object implements ToHuman
ClassDataItem.| Constructor and Description |
|---|
EncodedMember(int accessFlags)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
abstract void |
debugPrint(java.io.PrintWriter out,
boolean verbose)
Does a human-friendly dump of this instance.
|
abstract int |
encode(DexFile file,
AnnotatedOutput out,
int lastIndex,
int dumpSeq)
Encodes this instance to the given output.
|
int |
getAccessFlags()
Gets the access flags.
|
abstract CstString |
getName()
Gets the name.
|
public EncodedMember(int accessFlags)
accessFlags - access flags for the memberpublic final int getAccessFlags()
public abstract CstString getName()
non-null; the namepublic abstract void debugPrint(java.io.PrintWriter out,
boolean verbose)
out - non-null; where to dumpverbose - whether to be verbose with the outputpublic abstract void addContents(DexFile file)
DexFile with items from within this instance.file - non-null; the file to populatepublic abstract int encode(DexFile file, AnnotatedOutput out, int lastIndex, int dumpSeq)
file - non-null; file this instance is part ofout - non-null; where to write tolastIndex - >= 0; the previous member index value encoded, or
0 if this is the first element to encodedumpSeq - >= 0; sequence number of this instance for
annotation purposes>= 0; the member index value that was encodedCopyright © 2020. All Rights Reserved.