Package org.jf.dexlib2.analysis
Class ArrayProto
java.lang.Object
org.jf.dexlib2.analysis.ArrayProto
- All Implemented Interfaces:
TypeProto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCommonSuperclass(TypeProto other) intgetFieldByOffset(int fieldOffset) getMethodByVtableIndex(int vtableIndex) getType()booleanimplementsInterface(String iface) booleanprivate static StringmakeArrayType(String elementType, int dimensions) toString()
-
Field Details
-
classPath
-
dimensions
protected final int dimensions -
elementType
-
BRACKETS
-
-
Constructor Details
-
ArrayProto
-
-
Method Details
-
toString
-
getClassPath
- Specified by:
getClassPathin interfaceTypeProto
-
getType
-
getDimensions
public int getDimensions() -
isInterface
public boolean isInterface()- Specified by:
isInterfacein interfaceTypeProto
-
getElementType
- Returns:
- The base element type of this array. E.g. This would return Ljava/lang/String; for [[Ljava/lang/String;
-
getImmediateElementType
- Returns:
- The immediate element type of this array. E.g. This would return [Ljava/lang/String; for [[Ljava/lang/String;
-
implementsInterface
- Specified by:
implementsInterfacein interfaceTypeProto
-
getSuperclass
- Specified by:
getSuperclassin interfaceTypeProto
-
getCommonSuperclass
- Specified by:
getCommonSuperclassin interfaceTypeProto
-
makeArrayType
-
getFieldByOffset
- Specified by:
getFieldByOffsetin interfaceTypeProto
-
getMethodByVtableIndex
- Specified by:
getMethodByVtableIndexin interfaceTypeProto
-
findMethodIndexInVtable
- Specified by:
findMethodIndexInVtablein interfaceTypeProto
-