|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.file.EncodedMember
public abstract class EncodedMember
Representation of a member (field or method) of a class, for the
purposes of encoding it inside a ClassDataItem.
| Constructor Summary | |
|---|---|
EncodedMember(int accessFlags)
Constructs an instance. |
|
| Method Summary | |
|---|---|
abstract void |
addContents(DexFile file)
Populates a DexFile with items from within this instance. |
abstract void |
debugPrint(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.android.dx.util.ToHuman |
|---|
toHuman |
| Constructor Detail |
|---|
public EncodedMember(int accessFlags)
accessFlags - access flags for the member| Method Detail |
|---|
public final int getAccessFlags()
public abstract CstString getName()
non-null; the name
public abstract void debugPrint(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 populate
public 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 encoded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||