serp.bytecode.lowlevel
Class MethodEntry

java.lang.Object
  extended by serp.bytecode.lowlevel.Entry
      extended by serp.bytecode.lowlevel.ComplexEntry
          extended by serp.bytecode.lowlevel.MethodEntry
All Implemented Interfaces:
VisitAcceptor

public class MethodEntry
extends ComplexEntry

A reference to a class method.

Author:
Abe White

Field Summary
 
Fields inherited from class serp.bytecode.lowlevel.Entry
CLASS, DOUBLE, FIELD, FLOAT, INT, INTERFACEMETHOD, LONG, METHOD, NAMEANDTYPE, STRING, UTF8
 
Constructor Summary
MethodEntry()
          Default constructor.
MethodEntry(int classIndex, int nameAndTypeIndex)
          Constructor.
 
Method Summary
 void acceptVisit(BCVisitor visit)
          Accept a visit from a BCVisitor, calling the appropriate methods to notify the visitor that it has entered this entity, and to provide it with the proper callbacks for each sub-entity owned by this one.
 int getType()
          Return the type code for this entry type.
 
Methods inherited from class serp.bytecode.lowlevel.ComplexEntry
getClassEntry, getClassIndex, getNameAndTypeEntry, getNameAndTypeIndex, setClassIndex, setNameAndTypeIndex
 
Methods inherited from class serp.bytecode.lowlevel.Entry
create, getIndex, getPool, isWide, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodEntry

public MethodEntry()
Default constructor.


MethodEntry

public MethodEntry(int classIndex,
                   int nameAndTypeIndex)
Constructor.

See Also:
ComplexEntry.ComplexEntry(int,int)
Method Detail

getType

public int getType()
Description copied from class: Entry
Return the type code for this entry type.

Specified by:
getType in class Entry

acceptVisit

public void acceptVisit(BCVisitor visit)
Description copied from interface: VisitAcceptor
Accept a visit from a BCVisitor, calling the appropriate methods to notify the visitor that it has entered this entity, and to provide it with the proper callbacks for each sub-entity owned by this one.



Copyright © 2002-2007. All Rights Reserved.