org.netbeans.modules.classfile/1 1.35

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.35

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