Package org.jf.dexlib2.writer.builder
Class BuilderTypeReference
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseTypeReference
-
- org.jf.dexlib2.writer.builder.BuilderTypeReference
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<java.lang.CharSequence>
,Reference
,TypeReference
,BuilderReference
public class BuilderTypeReference extends BaseTypeReference implements BuilderReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
java.lang.String
getType()
Gets the string representation of the referenced type.void
setIndex(int index)
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, toString
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReference
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
-
-
-
Method Detail
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:TypeReference
Gets the string representation of the referenced type. The returned string will be a TypeDescriptor, as defined in the dex file specification- Specified by:
getType
in interfaceTypeReference
- Returns:
- The string representation of the referenced type.
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceBuilderReference
-
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interfaceBuilderReference
-
-