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

Quick Search    Search Deep

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

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.CPInstruction
          extended byCompil3r.BytecodeAnalysis.Bytecodes.FieldOrMethod
All Implemented Interfaces:
Bytecodes.LoadClass, Bytecodes.TypedInstruction, java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
Bytecodes.FieldInstruction, Bytecodes.InvokeInstruction
Enclosing class:
Bytecodes

public abstract static class Bytecodes.FieldOrMethod
extends Bytecodes.CPInstruction
implements 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.FieldOrMethod()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
protected Bytecodes.FieldOrMethod(short opcode, Clazz.jq_Member f)
           
 
Method Summary
 java.lang.String getClassName()
           
 Clazz.jq_Class getClassType()
           
 Clazz.jq_Class getLoadClassType()
          Returns the jq_Class of the referenced class or interface that may be loaded and resolved.
 java.lang.String getName()
           
 java.lang.String getSignature()
           
protected abstract  void initFromFile(Clazz.jq_ConstantPool cp, Util.IO.ByteSequence bytes, boolean wide)
          Read needed data (i.e., index) from file.
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.CPInstruction
dump, getIndex, getObject, getType, setIndex, setObject, toString, toString
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
accept, consumeStack, copy, dispose, getLength, getOpcode, produceStack, 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.LoadClass
getType
 

Constructor Detail

Bytecodes.FieldOrMethod

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


Bytecodes.FieldOrMethod

protected Bytecodes.FieldOrMethod(short opcode,
                                  Clazz.jq_Member f)
Method Detail

getSignature

public java.lang.String getSignature()

getName

public java.lang.String getName()

getClassName

public java.lang.String getClassName()

getClassType

public Clazz.jq_Class getClassType()

getLoadClassType

public Clazz.jq_Class getLoadClassType()
Description copied from interface: Bytecodes.LoadClass
Returns the jq_Class of the referenced class or interface that may be loaded and resolved.

Specified by:
getLoadClassType in interface Bytecodes.LoadClass

initFromFile

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

Overrides:
initFromFile in class Bytecodes.CPInstruction