public interface SourceClassBody extends SourceElement
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description | 
|---|---|
java.util.List<SourceClass> | 
getSourceAnonymousClasses()
Gets the list of anonymous class declarations, where
 the enclosing class of those anonymous classes is the source
 class of this source class body. 
 | 
java.util.List<SourceClass> | 
getSourceClasses()
Gets the list of direct member classes. 
 | 
java.util.List<SourceMethod> | 
getSourceConstructors()
Gets the list of declared constructor declarations. 
 | 
java.util.List<SourceEnumConstant> | 
getSourceEnumConstants()
Gets the list of declared enum constants. 
 | 
java.util.List<SourceFieldDeclaration> | 
getSourceFieldDeclarations()
Gets the list of declared field declarations. 
 | 
java.util.Collection<SourceFieldVariable> | 
getSourceFieldVariables()
Gets the collection of declared field variables. 
 | 
java.util.List<SourceClassInitializer> | 
getSourceInitializers()
Gets the list of declared class initializers. 
 | 
java.util.List<SourceClass> | 
getSourceLocalClasses()
Gets the list of local class declarations, where
 the enclosing class of those local classes is the source
 class of this source class body. 
 | 
java.util.List<SourceMember> | 
getSourceMembers()
Gets the list of declared member declarations. 
 | 
java.util.Collection<SourceMemberVariable> | 
getSourceMemberVariables()
Gets the list of all enum constants and field variables. 
 | 
java.util.List<SourceMethod> | 
getSourceMethods()
Gets the list of declared method (but not constructor) declarations. 
 | 
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfjava.util.List<SourceMember> getSourceMembers()
java.util.Collection<SourceMemberVariable> getSourceMemberVariables()
java.util.List<SourceEnumConstant> getSourceEnumConstants()
java.util.List<SourceFieldDeclaration> getSourceFieldDeclarations()
java.util.Collection<SourceFieldVariable> getSourceFieldVariables()
java.util.List<SourceMethod> getSourceMethods()
java.util.List<SourceMethod> getSourceConstructors()
java.util.List<SourceClass> getSourceClasses()
java.util.List<SourceClass> getSourceAnonymousClasses()
java.util.List<SourceClass> getSourceLocalClasses()
java.util.List<SourceClassInitializer> getSourceInitializers()