public final class ClassDef extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_INDEX |
| Constructor and Description |
|---|
ClassDef(Dex buffer,
int offset,
int typeIndex,
int accessFlags,
int supertypeIndex,
int interfacesOffset,
int sourceFileIndex,
int annotationsOffset,
int classDataOffset,
int staticValuesOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags() |
int |
getAnnotationsOffset() |
int |
getClassDataOffset() |
short[] |
getInterfaces() |
int |
getInterfacesOffset() |
int |
getOffset() |
int |
getSourceFileIndex() |
int |
getStaticValuesOffset() |
int |
getSupertypeIndex() |
int |
getTypeIndex() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public static final int NO_INDEX
public ClassDef(Dex buffer, int offset, int typeIndex, int accessFlags, int supertypeIndex, int interfacesOffset, int sourceFileIndex, int annotationsOffset, int classDataOffset, int staticValuesOffset)
public int getOffset()
public int getTypeIndex()
public int getSupertypeIndex()
public int getInterfacesOffset()
public short[] getInterfaces()
public int getAccessFlags()
public int getSourceFileIndex()
public int getAnnotationsOffset()
public int getClassDataOffset()
public int getStaticValuesOffset()
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.