All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.fub.bytecode.classfile.ConstantMethodref

java.lang.Object
   |
   +----de.fub.bytecode.classfile.Constant
           |
           +----de.fub.bytecode.classfile.ConstantCP
                   |
                   +----de.fub.bytecode.classfile.ConstantMethodref

public final class ConstantMethodref
extends ConstantCP
This class represents a constant pool reference to a method.

Version:
$Id: ConstantMethodref.java,v 1.2 1999/05/04 13:12:08 dahm Exp $
Author:
M. Dahm

Constructor Index

 o ConstantMethodref(ConstantMethodref)
Initialize from another object.
 o ConstantMethodref(int, int)

Method Index

 o accept(Visitor)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.

Constructors

 o ConstantMethodref
 public ConstantMethodref(ConstantMethodref c)
Initialize from another object.

 o ConstantMethodref
 public ConstantMethodref(int class_index,
                          int name_and_type_index)
Parameters:
class_index - Reference to the class containing the method
name_and_type_index - and the method signature

Methods

 o accept
 public void accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v - Visitor object
Overrides:
accept in class Constant

All Packages  Class Hierarchy  This Package  Previous  Next  Index