joeq.Compiler.BytecodeAnalysis
Class Bytecodes.DCONST

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

public static class Bytecodes.DCONST
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.DCONST(double f)
           
 
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.DCONST

public Bytecodes.DCONST(double f)
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.DOUBLE

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.