Package org.jf.dexlib2.writer.builder
Class BuilderFieldReference
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseFieldReference
-
- org.jf.dexlib2.writer.builder.BuilderFieldReference
-
- All Implemented Interfaces:
java.lang.Comparable<FieldReference>
,FieldReference
,Reference
,BuilderReference
public class BuilderFieldReference extends BaseFieldReference 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 java.lang.String
getDefiningClass()
Gets the type of the class that defines the referenced field.int
getIndex()
java.lang.String
getName()
Gets the name of the referenced field.java.lang.String
getType()
Gets the type of the referenced field.void
setIndex(int index)
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseFieldReference
compareTo, equals, hashCode, 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
-
getDefiningClass
@Nonnull public java.lang.String getDefiningClass()
Description copied from interface:FieldReference
Gets the type of the class that defines the referenced field.- Specified by:
getDefiningClass
in interfaceFieldReference
- Returns:
- The type of the class that defines the referenced field
-
getName
@Nonnull public java.lang.String getName()
Description copied from interface:FieldReference
Gets the name of the referenced field.- Specified by:
getName
in interfaceFieldReference
- Returns:
- The name of the referenced field
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:FieldReference
Gets the type of the referenced field.- Specified by:
getType
in interfaceFieldReference
- Returns:
- The type of the referenced field
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceBuilderReference
-
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interfaceBuilderReference
-
-