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.String
definingClass
protected java.lang.String
name
protected java.lang.String
type
-
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.String
getDefiningClass()
Gets the type of the class that defines the referenced field.java.lang.String
getName()
Gets the name of the referenced field.java.lang.String
getType()
Gets the type of the referenced field.static ImmutableFieldReference
of(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: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
-
-