Class StackInstruction

    • Constructor Detail

      • StackInstruction

        StackInstruction()
        Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.
      • StackInstruction

        protected StackInstruction​(short opcode)
        Constructs a StackInstruction.
        Parameters:
        opcode - instruction opcode.
    • Method Detail

      • getType

        public Type getType​(ConstantPoolGen cp)
        Gets the type.
        Parameters:
        cp - the constant pool.
        Returns:
        Type.UNKNOWN.