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

Quick Search    Search Deep

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

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.CPInstruction
          extended byCompil3r.BytecodeAnalysis.Bytecodes.FieldOrMethod
              extended byCompil3r.BytecodeAnalysis.Bytecodes.FieldInstruction
                  extended byCompil3r.BytecodeAnalysis.Bytecodes.GETSTATIC
All Implemented Interfaces:
Bytecodes.ExceptionThrower, Bytecodes.LoadClass, Bytecodes.PushInstruction, Bytecodes.StackProducer, Bytecodes.TypedInstruction, java.lang.Cloneable, java.io.Serializable
Enclosing class:
Bytecodes

public static class Bytecodes.GETSTATIC
extends Bytecodes.FieldInstruction
implements Bytecodes.ExceptionThrower, Bytecodes.StackProducer, Bytecodes.PushInstruction, Bytecodes.TypedInstruction, Bytecodes.LoadClass


Field Summary
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.CPInstruction
index, o
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
(package private) Bytecodes.GETSTATIC()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
  Bytecodes.GETSTATIC(Clazz.jq_StaticField f)
           
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 java.util.Set getExceptions()
           
protected  void initFromFile(Clazz.jq_ConstantPool cp, Util.IO.ByteSequence bytes, boolean wide)
          Read needed data (i.e., index) from file.
 int produceStack()
           
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.FieldInstruction
getField, getFieldName, getFieldSize, getFieldType, getType, toString
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.FieldOrMethod
getClassName, getClassType, getLoadClassType, getName, getSignature
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.CPInstruction
dump, getIndex, getObject, setIndex, setObject, toString
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
consumeStack, copy, dispose, getLength, getOpcode, readInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.TypedInstruction
getType
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.LoadClass
getLoadClassType, getType
 

Constructor Detail

Bytecodes.GETSTATIC

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


Bytecodes.GETSTATIC

public Bytecodes.GETSTATIC(Clazz.jq_StaticField f)
Method Detail

produceStack

public int produceStack()
Specified by:
produceStack in interface Bytecodes.StackProducer
Overrides:
produceStack in class Bytecodes.Instruction

initFromFile

protected void initFromFile(Clazz.jq_ConstantPool cp,
                            Util.IO.ByteSequence bytes,
                            boolean wide)
                     throws java.io.IOException
Read needed data (i.e., index) from file.

Specified by:
initFromFile in class Bytecodes.FieldOrMethod

getExceptions

public java.util.Set getExceptions()
Specified by:
getExceptions in interface Bytecodes.ExceptionThrower

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