| Modifier and Type | Method and Description |
|---|---|
static void |
ASTHelper.addMember(TypeDeclaration type,
BodyDeclaration decl)
Adds the given declaration to the specified type.
|
static void |
ASTHelper.addTypeDeclaration(CompilationUnit cu,
TypeDeclaration type)
Adds the given type declaration to the compilation unit.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDeclaration |
ClassDeclarationContextAdapter.adapt(Java7Parser.ClassDeclarationContext context,
AdapterParameters adapterParameters) |
TypeDeclaration |
ClassOrInterfaceDeclarationContextAdapter.adapt(Java7Parser.ClassOrInterfaceDeclarationContext context,
AdapterParameters adapterParameters) |
TypeDeclaration |
InterfaceDeclarationContextAdapter.adapt(Java7Parser.InterfaceDeclarationContext context,
AdapterParameters adapterParameters) |
TypeDeclaration |
NormalClassDeclarationContextAdapter.adapt(Java7Parser.NormalClassDeclarationContext context,
AdapterParameters adapterParameters) |
TypeDeclaration |
TypeDeclarationContextAdapter.adapt(Java7Parser.TypeDeclarationContext context,
AdapterParameters adapterParameters) |
| Modifier and Type | Method and Description |
|---|---|
List<TypeDeclaration> |
CompilationUnit.getTypes()
Return the list of types declared in this compilation unit.
If there is no types declared, null is returned. |
| Modifier and Type | Method and Description |
|---|---|
void |
CompilationUnit.setTypes(List<TypeDeclaration> types)
Sets the list of types declared in this compilation unit.
|
| Constructor and Description |
|---|
CompilationUnit(int beginLine,
int beginColumn,
int endLine,
int endColumn,
PackageDeclaration pakage,
List<ImportDeclaration> imports,
List<TypeDeclaration> types,
List<Comment> comments) |
CompilationUnit(PackageDeclaration pakage,
List<ImportDeclaration> imports,
List<TypeDeclaration> types,
List<Comment> comments) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationDeclaration |
class |
ClassOrInterfaceDeclaration |
class |
EmptyTypeDeclaration |
class |
EnumDeclaration |
| Modifier and Type | Method and Description |
|---|---|
TypeDeclaration |
TypeDeclarationStmt.getTypeDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeDeclarationStmt.setTypeDeclaration(TypeDeclaration typeDecl) |
| Constructor and Description |
|---|
TypeDeclarationStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
TypeDeclaration typeDecl) |
TypeDeclarationStmt(TypeDeclaration typeDecl) |
Copyright © 2013. All Rights Reserved.