Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.BytecodeAnalysis
Class Bytecodes.ICONST  view Bytecodes.ICONST download Bytecodes.ICONST.java

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.ICONST
All Implemented Interfaces:
Bytecodes.ConstantPushInstruction, Bytecodes.PushInstruction, Bytecodes.StackProducer, Bytecodes.TypedInstruction, java.lang.Cloneable, java.io.Serializable
Enclosing class:
Bytecodes

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


Field Summary
private  int value
           
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
(package private) Bytecodes.ICONST()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
  Bytecodes.ICONST(int i)
           
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 Clazz.jq_Type getType()
           
 java.lang.Number getValue()
           
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
consumeStack, copy, dispose, 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
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackProducer
produceStack
 

Field Detail

value

private int value
Constructor Detail

Bytecodes.ICONST

Bytecodes.ICONST()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.


Bytecodes.ICONST

public Bytecodes.ICONST(int i)
Method Detail

getValue

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

getType

public Clazz.jq_Type getType()
Specified by:
getType in interface Bytecodes.TypedInstruction

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