org.netbeans.modules.classfile/1 1.35

org.netbeans.modules.classfile
Class CPNameAndTypeInfo

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

public class CPNameAndTypeInfo
extends CPEntry

A class representing the CONSTANT_NameAndType constant pool type.


Constructor Summary
protected CPNameAndTypeInfo(ConstantPool pool)
           
 
Method Summary
 String getDescriptor()
           
 String getName()
           
 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.CPEntry
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPNameAndTypeInfo

protected CPNameAndTypeInfo(ConstantPool pool)
Method Detail

getName

public final String getName()

getDescriptor

public final String getDescriptor()

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.

Specified by:
getTag in class CPEntry

toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.classfile/1 1.35

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.