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:
Comparable<FieldReference>,FieldReference,Reference,BuilderReference
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BuilderTypeReference(package private) final BuilderTypeReference(package private) int(package private) final BuilderStringReference -
Constructor Summary
ConstructorsConstructorDescriptionBuilderFieldReference(BuilderTypeReference definingClass, BuilderStringReference name, BuilderTypeReference fieldType) -
Method Summary
Methods inherited from class org.jf.dexlib2.base.reference.BaseFieldReference
compareTo, equals, hashCode, toStringMethods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReferenceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
Field Details
-
definingClass
-
name
-
fieldType
-
index
int index
-
-
Constructor Details
-
BuilderFieldReference
BuilderFieldReference(@Nonnull BuilderTypeReference definingClass, @Nonnull BuilderStringReference name, @Nonnull BuilderTypeReference fieldType)
-
-
Method Details
-
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
Description copied from interface:FieldReferenceGets the name of the referenced field.- Specified by:
getNamein interfaceFieldReference- Returns:
- The name of the referenced field
-
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
-