Class ConstantPrimitive<T extends java.lang.Number>

  • 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 by CodeInjector.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConstantPrimitive

        public ConstantPrimitive​(T constant)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object