joeq.Compiler.BytecodeAnalysis
Class Bytecodes.FieldOrMethod
java.lang.Object
joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
joeq.Compiler.BytecodeAnalysis.Bytecodes.CPInstruction
joeq.Compiler.BytecodeAnalysis.Bytecodes.FieldOrMethod
- All Implemented Interfaces:
- Serializable, Cloneable, Bytecodes.LoadClass, Bytecodes.TypedInstruction
- Direct Known Subclasses:
- Bytecodes.FieldInstruction, Bytecodes.InvokeInstruction
- Enclosing interface:
- Bytecodes
public abstract static class Bytecodes.FieldOrMethod
- extends Bytecodes.CPInstruction
- implements Bytecodes.LoadClass
- See Also:
- Serialized Form
Bytecodes.FieldOrMethod
protected Bytecodes.FieldOrMethod(short opcode,
jq_Member f)
- Parameters:
opcode
- instruction opcodef
- field or method
getSignature
public String getSignature()
- Returns:
- signature of referenced method/field.
getName
public String getName()
- Returns:
- name of referenced method/field.
getClassName
public String getClassName()
- Returns:
- name of the referenced class/interface
getClassType
public jq_Class getClassType()
- Returns:
- type of the referenced class/interface
getLoadClassType
public 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
- Returns:
- type of the referenced class/interface
initFromFile
protected abstract void initFromFile(jq_ConstantPool cp,
jwutil.io.ByteSequence bytes,
boolean wide)
throws IOException
- Description copied from class:
Bytecodes.CPInstruction
- Read needed data (i.e., index) from file.
- Overrides:
initFromFile
in class Bytecodes.CPInstruction
- Parameters:
cp
- constant pool of class we are readingbytes
- input streamwide
- wide prefix?
- Throws:
IOException
Copyright © 2001-2008 John Whaley. All Rights Reserved.