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.StringgetDefiningClass()Gets the type of the class that defines the referenced field.intgetIndex()java.lang.StringgetName()Gets the name of the referenced field.java.lang.StringgetType()Gets the type of the referenced field.voidsetIndex(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:FieldReferenceGets the type of the class that defines the referenced field.- Specified by:
getDefiningClassin interfaceFieldReference- Returns:
- The type of the class that defines the referenced field
-
getName
@Nonnull public java.lang.String getName()
Description copied from interface:FieldReferenceGets the name of the referenced field.- Specified by:
getNamein interfaceFieldReference- Returns:
- The name of the referenced field
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:FieldReferenceGets the type of the referenced field.- Specified by:
getTypein interfaceFieldReference- Returns:
- The type of the referenced field
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfaceBuilderReference
-
setIndex
public void setIndex(int index)
- Specified by:
setIndexin interfaceBuilderReference
-
-