Class ConstantPrimitive<T extends java.lang.Number>
- java.lang.Object
-
- proguard.classfile.util.inject.argument.ConstantPrimitive<T>
-
- All Implemented Interfaces:
InjectedArgument
public class ConstantPrimitive<T extends java.lang.Number> extends java.lang.Object implements InjectedArgument
A model representing a constant value of primitive typed argument to be passed to the method invocation instructions that are injected byCodeInjector
.
-
-
Constructor Summary
Constructors Constructor Description ConstantPrimitive(T constant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInternalType()
java.lang.Object
getValue()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ConstantPrimitive
public ConstantPrimitive(T constant)
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfaceInjectedArgument
-
getInternalType
public java.lang.String getInternalType()
- Specified by:
getInternalType
in interfaceInjectedArgument
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-