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

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

org.netbeans.modules.classfile/1 1.19

org.netbeans.modules.classfile
Class ConstantPool

java.lang.Object
  extended by org.netbeans.modules.classfile.ConstantPool

public final class ConstantPool
extends Object

Class representing a Java class file constant pool.


Method Summary
 CPEntry get(int index)
          Get the CPEntry at a specific constant pool index.
 Set getAllClassNames()
           
 Collection getAllConstants(Class classType)
           
 CPClassInfo getClass(int index)
          Get the CPClassInfo at a specific index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public final CPEntry get(int index)
Get the CPEntry at a specific constant pool index.

Parameters:
index - the constant pool index for the entry

getClass

public final CPClassInfo getClass(int index)
Get the CPClassInfo at a specific index.

Parameters:
index - the constant pool index for the entry

getAllConstants

public final Collection getAllConstants(Class classType)

getAllClassNames

public final Set getAllClassNames()

org.netbeans.modules.classfile/1 1.19

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