Package org.jf.dexlib2.immutable.value
Class ImmutableMethodHandleEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseMethodHandleEncodedValue
-
- org.jf.dexlib2.immutable.value.ImmutableMethodHandleEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,EncodedValue
,MethodHandleEncodedValue
,ImmutableEncodedValue
public class ImmutableMethodHandleEncodedValue extends BaseMethodHandleEncodedValue implements ImmutableEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected ImmutableMethodHandleReference
methodHandleReference
-
Constructor Summary
Constructors Constructor Description ImmutableMethodHandleEncodedValue(ImmutableMethodHandleReference methodHandleReference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableMethodHandleReference
getValue()
Gets the method handle value.static ImmutableMethodHandleEncodedValue
of(MethodHandleEncodedValue methodHandleEncodedValue)
-
Methods inherited from class org.jf.dexlib2.base.value.BaseMethodHandleEncodedValue
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
-
methodHandleReference
@Nonnull protected final ImmutableMethodHandleReference methodHandleReference
-
-
Constructor Detail
-
ImmutableMethodHandleEncodedValue
public ImmutableMethodHandleEncodedValue(@Nonnull ImmutableMethodHandleReference methodHandleReference)
-
-
Method Detail
-
of
@Nonnull public static ImmutableMethodHandleEncodedValue of(@Nonnull MethodHandleEncodedValue methodHandleEncodedValue)
-
getValue
@Nonnull public ImmutableMethodHandleReference getValue()
Description copied from interface:MethodHandleEncodedValue
Gets the method handle value.- Specified by:
getValue
in interfaceMethodHandleEncodedValue
- Returns:
- the method handle value as a MethodHandleReference
-
-