Package | Description |
---|---|
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 | Class and Description |
---|---|
class |
PackageDeclarationImpl
An implementation of
PackageDeclaration . |
Modifier and Type | Method and Description |
---|---|
PackageDeclaration |
CompilationUnitImpl.getPackageDeclaration() |
PackageDeclaration |
ModelFactoryImpl.newPackageDeclaration(Javadoc javadoc,
List<? extends Annotation> annotations,
Name name) |
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.setPackageDeclaration(PackageDeclaration packageDeclaration)
Sets the package declaration.
|
Modifier and Type | Method and Description |
---|---|
Void |
ModelDigester.visitPackageDeclaration(PackageDeclaration elem,
com.asakusafw.utils.java.internal.model.util.DigestContext context) |
Boolean |
ModelMatcher.visitPackageDeclaration(PackageDeclaration elem,
Model context) |
Modifier and Type | Method and Description |
---|---|
PackageDeclaration |
Jsr269.convert(PackageElement packageElement)
Converts the package element.
|
Modifier and Type | Method and Description |
---|---|
PackageDeclaration |
CompilationUnit.getPackageDeclaration()
Returns the package declaration.
|
PackageDeclaration |
ModelFactory.newPackageDeclaration(Javadoc javadoc,
List<? extends Annotation> annotations,
Name name)
Returns a new
PackageDeclaration object. |
default PackageDeclaration |
ModelFactory.newPackageDeclaration(Name name)
Returns a new
PackageDeclaration object. |
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. |
R |
StrictVisitor.visitPackageDeclaration(PackageDeclaration elem,
C context) |
R |
Visitor.visitPackageDeclaration(PackageDeclaration elem,
C context)
Processes
PackageDeclaration using this visitor. |
Modifier and Type | Method and Description |
---|---|
PackageDeclaration |
ImportBuilder.getPackageDeclaration()
Returns the package declaration of this builder.
|
Modifier and Type | Method and Description |
---|---|
File |
Filer.getFolderFor(PackageDeclaration packageDeclOrNull)
Returns the folder for the target package.
|
abstract PrintWriter |
Emitter.openFor(PackageDeclaration packageDeclOrNull,
String subPath)
Creates a new resource file and returns the writer for writing the contents of the resource.
|
PrintWriter |
Filer.openFor(PackageDeclaration packageDeclOrNull,
String subPath) |
Constructor and Description |
---|
ImportBuilder(ModelFactory factory,
PackageDeclaration packageDecl,
ImportBuilder.Strategy strategy)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.