站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CPMethodInfo (Classfile Reader) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.classfile/1 1.19

org.netbeans.modules.classfile
Class CPMethodInfo

java.lang.Object
  extended by org.netbeans.modules.classfile.CPEntry
      extended by org.netbeans.modules.classfile.CPNameAndTypeInfo
          extended by org.netbeans.modules.classfile.CPMethodInfo
Direct Known Subclasses:
CPInterfaceMethodInfo

public class CPMethodInfo
extends CPNameAndTypeInfo

A class representing the CONSTANT_Methodref constant pool type.


Method Summary
 int getClassID()
           
 ClassName getClassName()
           
 int getFieldID()
           
 String getFieldName()
           
 String getFullMethodName()
          Get method name and signature, such as "void setBar(Bar)".
 String getMethodName()
           
 String getSignature()
           
 int getTag()
          Returns the constant type value, or tag, as defined by table 4.3 of the Java Virtual Machine specification.
 String toString()
           
 
Methods inherited from class org.netbeans.modules.classfile.CPNameAndTypeInfo
getDescriptor, getName
 
Methods inherited from class org.netbeans.modules.classfile.CPEntry
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMethodName

public final String getMethodName()

getFullMethodName

public final String getFullMethodName()
Get method name and signature, such as "void setBar(Bar)".


getTag

public int getTag()
Description copied from class: CPEntry
Returns the constant type value, or tag, as defined by table 4.3 of the Java Virtual Machine specification.

Overrides:
getTag in class CPNameAndTypeInfo

getClassID

public final int getClassID()

getFieldID

public final int getFieldID()

getClassName

public final ClassName getClassName()

getFieldName

public final String getFieldName()

toString

public String toString()
Overrides:
toString in class CPNameAndTypeInfo

getSignature

public final String getSignature()

org.netbeans.modules.classfile/1 1.19

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.