Package serp.bytecode

Class TypedInstruction

    • Method Detail

      • getTypeName

        public abstract java.lang.String getTypeName()
        Return the type name for this instruction. If the type has not been set, this method will return null.
      • getType

        public java.lang.Class getType()
        Return the type for this instruction. If the type has not been set, this method will return null.
      • getTypeBC

        public BCClass getTypeBC()
        Return the type for this instruction. If the type has not been set, this method will return null.
      • setType

        public abstract TypedInstruction setType​(java.lang.String type)
        Set the type of this instruction. Types that have no direct support will be converted accordingly.
        Returns:
        this instruction, for method chaining
      • setType

        public TypedInstruction setType​(java.lang.Class type)
        Set the type of this instruction. Types that have no direct support will be converted accordingly.
        Returns:
        this instruction, for method chaining
      • setType

        public TypedInstruction setType​(BCClass type)
        Set the type of this instruction. Types that have no direct support will be converted accordingly.
        Returns:
        this instruction, for method chaining