All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.fub.bytecode.generic.FieldOrMethod

java.lang.Object
   |
   +----de.fub.bytecode.generic.Instruction
           |
           +----de.fub.bytecode.generic.CPInstruction
                   |
                   +----de.fub.bytecode.generic.FieldOrMethod

public abstract class FieldOrMethod
extends CPInstruction
implements LoadClass
Super class for InvokeInstruction and FieldInstruction, since they have some methods in common!

Version:
$Id: FieldOrMethod.java,v 1.1 1999/07/09 15:55:08 dahm Exp $
Author:
M. Dahm

Constructor Index

 o FieldOrMethod(short, int)

Method Index

 o getClassName(ConstantPoolGen)
 o getClassType(ConstantPoolGen)
 o getName(ConstantPoolGen)
 o getSignature(ConstantPoolGen)

Constructors

 o FieldOrMethod
 protected FieldOrMethod(short tag,
                         int index)
Parameters:
index - to constant pool

Methods

 o getSignature
 public String getSignature(ConstantPoolGen cpg)
Returns:
signature of referenced method/field.
 o getName
 public String getName(ConstantPoolGen cpg)
Returns:
name of referenced method/field.
 o getClassName
 public String getClassName(ConstantPoolGen cpg)
Returns:
name of the referenced class/interface
 o getClassType
 public ObjectType getClassType(ConstantPoolGen cpg)
Returns:
type of the referenced class/interface

All Packages  Class Hierarchy  This Package  Previous  Next  Index