Package com.aparapi.internal.instruction
Class InstructionSet.BytecodeEncodedConstant<T>
- java.lang.Object
-
- com.aparapi.internal.instruction.Instruction
-
- com.aparapi.internal.instruction.InstructionSet.BytecodeEncodedConstant<T>
-
- All Implemented Interfaces:
InstructionSet.Constant<T>
- Direct Known Subclasses:
InstructionSet.I_DCONST_0
,InstructionSet.I_DCONST_1
,InstructionSet.I_FCONST_0
,InstructionSet.I_FCONST_1
,InstructionSet.I_FCONST_2
,InstructionSet.I_ICONST_0
,InstructionSet.I_ICONST_1
,InstructionSet.I_ICONST_2
,InstructionSet.I_ICONST_3
,InstructionSet.I_ICONST_4
,InstructionSet.I_ICONST_5
,InstructionSet.I_ICONST_M1
,InstructionSet.I_LCONST_0
,InstructionSet.I_LCONST_1
- Enclosing class:
- InstructionSet
public abstract static class InstructionSet.BytecodeEncodedConstant<T> extends Instruction implements InstructionSet.Constant<T>
-
-
Field Summary
Fields Modifier and Type Field Description private T
value
-
Fields inherited from class com.aparapi.internal.instruction.Instruction
method, pc
-
-
Constructor Summary
Constructors Constructor Description BytecodeEncodedConstant(MethodModel _methodPoolEntry, InstructionSet.ByteCode _byteCode, ByteReader _byteReader, boolean _wide, T _value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getValue()
-
Methods inherited from class com.aparapi.internal.instruction.Instruction
addBranchTarget, asBranch, compareTo, consumesStack, getByteCode, getDescription, getFirstChild, getForwardConditionalBranches, getForwardUnconditionalBranches, getLastChild, getLength, getMethod, getNextExpr, getNextPC, getParentExpr, getPrevExpr, getPrevPC, getReal, getReverseConditionalBranches, getReverseUnconditionalBranches, getRootExpr, getStackConsumeCount, getStackDelta, getStackProduceCount, getStartInstruction, getStartPC, getThisPC, isAfter, isAfterOrEqual, isBefore, isBeforeOrEqual, isBranch, isBranchTarget, isConditionalBranchTarget, isForwardBranch, isForwardBranchTarget, isForwardConditionalBranchTarget, isForwardUnconditionalBranchTarget, isReverseBranchTarget, isReverseConditionalBranchTarget, isReverseUnconditionalBranchTarget, isUnconditionalBranchTarget, producesStack, removeBranchTarget, sameAs, setChildren, setLength, setNextExpr, setNextPC, setParentExpr, setPrevExpr, setPrevPC, toInstruction, toString
-
-
-
-
Field Detail
-
value
private final T value
-
-
Constructor Detail
-
BytecodeEncodedConstant
public BytecodeEncodedConstant(MethodModel _methodPoolEntry, InstructionSet.ByteCode _byteCode, ByteReader _byteReader, boolean _wide, T _value)
-
-
Method Detail
-
getValue
public T getValue()
- Specified by:
getValue
in interfaceInstructionSet.Constant<T>
-
-