Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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

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 getEnumConstants()
          Gets the list of enum constants.
 java.util.List getFieldDeclarations()
          Gets the list of declared field declarations.
 java.util.Collection getFieldVariables()
          Gets the collection of declared field 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.Collection getMemberVariables()
          Gets the collection of declared field variables and enum constants.
 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, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty

 

Method Detail

getMembers

java.util.List getMembers()
Gets the list of declared member declarations.
Returns:
All source-model declared members of this class, including synthetic members. This will include every member: methods, constructors, field declarations, enum constant declarations, inner classes, and initializers.

List of MemberTs.


getMemberVariables

java.util.Collection getMemberVariables()
Gets the collection of declared field variables and enum constants.
Returns:
All declared field variables and enum constants, not including synthetic ones (e.g. "this$0").

Collection of MemberVariableTs.


getEnumConstants

java.util.List getEnumConstants()
Gets the list of enum constants. Collection of EnumConstantTs.

getFieldDeclarations

java.util.List getFieldDeclarations()
Gets the list of declared field declarations. Does NOT include enum constant declarations.
Returns:
All declared field declarations, not including synthetic ones (e.g. "this$0"). This does NOT includes enum constant declarations.

List of FieldDeclTs.


getFieldVariables

java.util.Collection getFieldVariables()
Gets the collection of declared field variables. Does NOT include enum constant variables.
Returns:
All declared field variables, not including synthetic ones (e.g. "this$0"). This does NOT includes enum constant variables.

Collection of FieldVariableTs.


getMethods

java.util.List getMethods()
Gets the list of declared method (but not constructor) declarations.
Returns:
All source-model declared methods of this class, not including constructors. Does not include the synthetic default constructor or the synthetic <clinit> method.

List of MethodTs.


getConstructors

java.util.List getConstructors()
Gets the list of declared constructor declarations.
Returns:
All source-model declared constructors of this class. Does not include the synthetic default constructor nor the synthetic <clinit> method.

List of MethodTs.


getClasses

java.util.List getClasses()
Gets the list of declared member class declarations.
Returns:
All source-model directly declared inner classes of this class.

List of ClassTs.


getInitializers

java.util.List getInitializers()
Gets the list of declared class initializers.
Returns:
All source-model initializers declared in this class.

List of ClassInitializerTs.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.