Package | Description |
---|---|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
com.asakusafw.utils.java.internal.model.syntax |
Naive Java DOM implementations.
|
com.asakusafw.utils.java.model.syntax |
Interfaces for representing Java DOMs.
|
com.asakusafw.utils.java.model.util |
Utilities for Java DOM building/emitting.
|
Modifier and Type | Method and Description |
---|---|
void |
EmitContext.emit(TypeDeclaration type)
Emits the type declaration as the suitable Java source program.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDeclarationImpl
An implementation of
AnnotationDeclaration . |
class |
ClassDeclarationImpl
An implementation of
ClassDeclaration . |
class |
EnumDeclarationImpl
An implementation of
EnumDeclaration . |
class |
InterfaceDeclarationImpl
An implementation of
InterfaceDeclaration . |
Modifier and Type | Method and Description |
---|---|
List<? extends TypeDeclaration> |
CompilationUnitImpl.getTypeDeclarations() |
Modifier and Type | Method and Description |
---|---|
CompilationUnit |
ModelFactoryImpl.newCompilationUnit(PackageDeclaration packageDeclaration,
List<? extends ImportDeclaration> importDeclarations,
List<? extends TypeDeclaration> typeDeclarations,
List<? extends Comment> comments) |
void |
CompilationUnitImpl.setTypeDeclarations(List<? extends TypeDeclaration> typeDeclarations)
Sets the type declarations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationDeclaration
An interface which represents annotation declaration.
|
interface |
ClassDeclaration
An interface which represents class declarations.
|
interface |
EnumDeclaration
An interface which represents enum type declarations.
|
interface |
InterfaceDeclaration
An interface which represents interface type declarations.
|
Modifier and Type | Method and Description |
---|---|
List<? extends TypeDeclaration> |
CompilationUnit.getTypeDeclarations()
Returns the type declarations.
|
Modifier and Type | Method and Description |
---|---|
default CompilationUnit |
ModelFactory.newCompilationUnit(PackageDeclaration packageDeclaration,
List<? extends ImportDeclaration> importDeclarations,
List<? extends TypeDeclaration> typeDeclarations)
Returns a new
CompilationUnit object. |
CompilationUnit |
ModelFactory.newCompilationUnit(PackageDeclaration packageDeclaration,
List<? extends ImportDeclaration> importDeclarations,
List<? extends TypeDeclaration> typeDeclarations,
List<? extends Comment> comments)
Returns a new
CompilationUnit object. |
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration |
Emitter.findPrimaryType(CompilationUnit unit)
Returns a primary type declaration in the compilation unit.
|
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.