Package | Description |
---|---|
com.asakusafw.operator |
Asakusa Operator DSL Compiler Core APIs.
|
com.asakusafw.utils.java.internal.model.syntax |
Naive Java DOM implementations.
|
com.asakusafw.utils.java.internal.model.util |
Internal utlities for Java DOM building/emitting.
|
com.asakusafw.utils.java.jsr269.bridge |
Utilities for convert
javax.lang.model into Java DOM. |
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 |
CompileEnvironment.emit(CompilationUnit unit,
Element... originatingElements)
Emits the target compilation unit onto suitable location.
|
Modifier and Type | Class and Description |
---|---|
class |
CompilationUnitImpl
An implementation of
CompilationUnit . |
Modifier and Type | Method and Description |
---|---|
CompilationUnit |
ModelFactoryImpl.newCompilationUnit(PackageDeclaration packageDeclaration,
List<? extends ImportDeclaration> importDeclarations,
List<? extends TypeDeclaration> typeDeclarations,
List<? extends Comment> comments) |
Modifier and Type | Method and Description |
---|---|
Void |
ModelDigester.visitCompilationUnit(CompilationUnit elem,
com.asakusafw.utils.java.internal.model.util.DigestContext context) |
Boolean |
ModelMatcher.visitCompilationUnit(CompilationUnit elem,
Model context) |
Modifier and Type | Method and Description |
---|---|
void |
Jsr269.emit(Filer filer,
CompilationUnit unit)
Emits the target compilation unit using the filer.
|
void |
Jsr269.emit(Filer filer,
CompilationUnit unit,
Element... originatingElements)
Emits the target compilation unit using the filer.
|
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 |
---|---|
R |
StrictVisitor.visitCompilationUnit(CompilationUnit elem,
C context) |
R |
Visitor.visitCompilationUnit(CompilationUnit elem,
C context)
Processes
CompilationUnit using this visitor. |
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration |
Emitter.findPrimaryType(CompilationUnit unit)
Returns a primary type declaration in the compilation unit.
|
PrintWriter |
Emitter.openFor(CompilationUnit unit)
Creates a new Java source file and returns the writer for writing the contents of the file.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.