org.netbeans.modules.classfile
Class CPNameAndTypeInfo
java.lang.Object
org.netbeans.modules.classfile.CPEntry
org.netbeans.modules.classfile.CPNameAndTypeInfo
- Direct Known Subclasses:
- CPFieldInfo, CPMethodInfo
public class CPNameAndTypeInfo
- extends CPEntry
A class representing the CONSTANT_NameAndType constant pool type.
| Methods inherited from class org.netbeans.modules.classfile.CPEntry |
getValue |
CPNameAndTypeInfo
protected CPNameAndTypeInfo(ConstantPool pool)
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