Package com.android.dex
Class ClassDef
- java.lang.Object
-
- com.android.dex.ClassDef
-
public final class ClassDef extends Object
A type definition.
-
-
Field Summary
Fields Modifier and Type Field Description static intNO_INDEX
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAccessFlags()intgetAnnotationsOffset()intgetClassDataOffset()short[]getInterfaces()intgetInterfacesOffset()intgetOffset()intgetSourceFileIndex()intgetStaticValuesOffset()intgetSupertypeIndex()intgetTypeIndex()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
NO_INDEX
public static final int NO_INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassDef
public ClassDef(Dex buffer, int offset, int typeIndex, int accessFlags, int supertypeIndex, int interfacesOffset, int sourceFileIndex, int annotationsOffset, int classDataOffset, int staticValuesOffset)
-
-
Method Detail
-
getOffset
public int getOffset()
-
getTypeIndex
public int getTypeIndex()
-
getSupertypeIndex
public int getSupertypeIndex()
-
getInterfacesOffset
public int getInterfacesOffset()
-
getInterfaces
public short[] getInterfaces()
-
getAccessFlags
public int getAccessFlags()
-
getSourceFileIndex
public int getSourceFileIndex()
-
getAnnotationsOffset
public int getAnnotationsOffset()
-
getClassDataOffset
public int getClassDataOffset()
-
getStaticValuesOffset
public int getStaticValuesOffset()
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-