Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface ClassBodyT  view ClassBodyT download ClassBodyT.java

All Superinterfaces:
Tree

public interface ClassBodyT
extends Tree

A class body, sometimes called a class block.

NOTE: Should this include Tree elements for empty class members?


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.Tree
EMPTY_ARRAY
 
Method Summary
 java.util.List getClasses()
          Gets the list of declared member class declarations.
 java.util.List getConstructors()
          Gets the list of declared constructor declarations.
 java.util.List getFieldDeclarations()
          Gets the list of declared field declarations, including enum constant declarations.
 java.util.Collection getFieldVariables()
          Gets the collection of declared field variables, including enum constant variables.
 java.util.List getInitializers()
          Gets the list of declared class initializers.
 java.util.List getMembers()
          Gets the list of declared member declarations.
 java.util.List getMethods()
          Gets the list of declared method (but not constructor) declarations.
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Method Detail

getMembers

public java.util.List getMembers()
Gets the list of declared member declarations.


getFieldDeclarations

public java.util.List getFieldDeclarations()
Gets the list of declared field declarations, including enum constant declarations.


getFieldVariables

public java.util.Collection getFieldVariables()
Gets the collection of declared field variables, including enum constant variables.


getMethods

public java.util.List getMethods()
Gets the list of declared method (but not constructor) declarations.


getConstructors

public java.util.List getConstructors()
Gets the list of declared constructor declarations.


getClasses

public java.util.List getClasses()
Gets the list of declared member class declarations.


getInitializers

public java.util.List getInitializers()
Gets the list of declared class initializers.