Class ImmutableFieldReference
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseFieldReference
-
- org.jf.dexlib2.immutable.reference.ImmutableFieldReference
-
- All Implemented Interfaces:
java.lang.Comparable<FieldReference>,FieldReference,Reference,ImmutableReference
public class ImmutableFieldReference extends BaseFieldReference implements ImmutableReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdefiningClassprotected java.lang.Stringnameprotected java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description ImmutableFieldReference(java.lang.String definingClass, java.lang.String name, java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefiningClass()Gets the type of the class that defines the referenced field.java.lang.StringgetName()Gets the name of the referenced field.java.lang.StringgetType()Gets the type of the referenced field.static ImmutableFieldReferenceof(FieldReference fieldReference)-
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
-
of
@Nonnull public static ImmutableFieldReference of(@Nonnull FieldReference fieldReference)
-
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
-
-