Package org.jf.dexlib2.immutable.value
Class ImmutableFieldEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseFieldEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableFieldEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,EncodedValue
,FieldEncodedValue
,ImmutableEncodedValue
public class ImmutableFieldEncodedValue extends BaseFieldEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected ImmutableFieldReference
value
-
Constructor Summary
Constructors Constructor Description ImmutableFieldEncodedValue(ImmutableFieldReference value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableFieldReference
getValue()
Gets the field value.static ImmutableFieldEncodedValue
of(FieldEncodedValue fieldEncodedValue)
-
Methods inherited from class org.jf.dexlib2.base.value.BaseFieldEncodedValue
compareTo, equals, getValueType, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
-
-
-
Field Detail
-
value
@Nonnull protected final ImmutableFieldReference value
-
-
Constructor Detail
-
ImmutableFieldEncodedValue
public ImmutableFieldEncodedValue(@Nonnull ImmutableFieldReference value)
-
-
Method Detail
-
of
public static ImmutableFieldEncodedValue of(@Nonnull FieldEncodedValue fieldEncodedValue)
-
getValue
@Nonnull public ImmutableFieldReference getValue()
Description copied from interface:FieldEncodedValue
Gets the field value.- Specified by:
getValue
in interfaceFieldEncodedValue
- Returns:
- the field value as a FieldReference
-
-