Klasse FieldOrMethod

Alle implementierten Schnittstellen:
Serializable, Cloneable, Constants
Bekannte direkte Unterklassen:
FieldInstruction, InvokeInstruction

public abstract class FieldOrMethod extends InstructionCP
Super class for InvokeInstruction and FieldInstruction, since they have some methods in common!
Version:
$Id: FieldOrMethod.java,v 1.8 2009/10/05 17:35:36 aclement Exp $
Autor:
M. Dahm
Siehe auch:
  • Felddetails

    • signature

      protected String signature
    • name

      protected String name
  • Konstruktordetails

    • FieldOrMethod

      protected FieldOrMethod(short opcode, int index)
  • Methodendetails

    • getSignature

      public String getSignature(ConstantPool cp)
      Gibt zurück:
      signature of referenced method/field.
    • getName

      public String getName(ConstantPool cp)
      Gibt zurück:
      name of referenced method/field.
    • getClassName

      public String getClassName(ConstantPool cp)
      Gibt zurück:
      name of the referenced class/interface
    • getClassType

      public ObjectType getClassType(ConstantPool cpg)
      Gibt zurück:
      type of the referenced class/interface
    • getLoadClassType

      public ObjectType getLoadClassType(ConstantPool cpg)
      Setzt außer Kraft:
      getLoadClassType in Klasse Instruction
      Gibt zurück:
      type of the referenced class/interface