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

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

org.netbeans.modules.classfile/1 1.19

org.netbeans.modules.classfile
Class InnerClass

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

public final class InnerClass
extends Object

An InnerClass attribute of a classfile.


Method Summary
 int getAccess()
          Returns the access flags of this class.
 ClassName getName()
          Returns the name of this class, including its package (if any).
 ClassName getOuterClassName()
          Returns the name of the enclosing outer class, including its package (if any).
 String getSimpleName()
          Returns the original simple name as given in the source code.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public final ClassName getName()
Returns the name of this class, including its package (if any). If the compiler didn't define this value, the string "" is returned.

Returns:
the name of this class.

getOuterClassName

public final ClassName getOuterClassName()
Returns the name of the enclosing outer class, including its package (if any).

Returns:
the name of this class, or null if not available.

getSimpleName

public final String getSimpleName()
Returns the original simple name as given in the source code. If this is an anonymous class, null is returned instead.

Returns:
the simple name of this class, or null if anonymous.

getAccess

public final int getAccess()
Returns the access flags of this class.


toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.classfile/1 1.19

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