com.objectwave.classFile
Class MethodReference

java.lang.Object
  |
  +--com.objectwave.classFile.ConstantPoolInfo
        |
        +--com.objectwave.classFile.MethodReference

public class MethodReference
extends ConstantPoolInfo

A ConstantPoolItem that is known to be a MethodReference.

Version:
1.0
Author:
Dave Hoag

Field Summary
 
Fields inherited from class com.objectwave.classFile.ConstantPoolInfo
ASCIZ, CLASS, DOUBLE, FIELDREF, FLOAT, INTEGER, INTERFACE, LONG, METHODREF, NAMEANDTYPE, STRING, UNICODE
 
Constructor Summary
MethodReference()
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getMethodName()
           
 boolean read(java.io.DataInputStream dis, int type)
           
 java.lang.String toString()
           
 
Methods inherited from class com.objectwave.classFile.ConstantPoolInfo
create, indexOf, inPool, isEqual, isType, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodReference

public MethodReference()
Method Detail

read

public boolean read(java.io.DataInputStream dis,
                    int type)
             throws java.io.IOException
Overrides:
read in class ConstantPoolInfo
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class ConstantPoolInfo

getClassName

public java.lang.String getClassName()

getMethodName

public java.lang.String getMethodName()