joeq.Compiler.BytecodeAnalysis
Class Bytecodes.ICONST

java.lang.Object
  extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
      extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.ICONST
All Implemented Interfaces:
Serializable, Cloneable, Bytecodes.ConstantPushInstruction, Bytecodes.PushInstruction, Bytecodes.StackProducer, Bytecodes.TypedInstruction
Enclosing interface:
Bytecodes

public static class Bytecodes.ICONST
extends Bytecodes.Instruction
implements Bytecodes.PushInstruction, Bytecodes.StackProducer, Bytecodes.TypedInstruction, Bytecodes.ConstantPushInstruction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
Bytecodes.ICONST(int i)
           
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 jq_Type getType()
           
 Number getValue()
           
 
Methods inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
consumeStack, copy, dump, getLength, getOpcode, initFromFile, produceStack, readInstruction, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bytecodes.ICONST

public Bytecodes.ICONST(int i)
Method Detail

getValue

public Number getValue()
Specified by:
getValue in interface Bytecodes.ConstantPushInstruction

getType

public jq_Type getType()
Specified by:
getType in interface Bytecodes.TypedInstruction
Returns:
jq_Primitive.INT

accept

public void accept(Bytecodes.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Specified by:
accept in class Bytecodes.Instruction
Parameters:
v - Visitor object


Copyright © 2001-2008 John Whaley. All Rights Reserved.