Package | Description |
---|---|
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 | Class and Description |
---|---|
class |
MarkerAnnotationImpl
An implementation of
MarkerAnnotation . |
class |
ModifierImpl
An implementation of
Modifier . |
class |
NormalAnnotationImpl
An implementation of
NormalAnnotation . |
class |
SingleElementAnnotationImpl
An implementation of
SingleElementAnnotation . |
Modifier and Type | Method and Description |
---|---|
List<? extends Attribute> |
FormalParameterDeclarationImpl.getModifiers() |
List<? extends Attribute> |
AnnotationElementDeclarationImpl.getModifiers() |
List<? extends Attribute> |
MethodDeclarationImpl.getModifiers() |
List<? extends Attribute> |
LocalVariableDeclarationImpl.getModifiers() |
List<? extends Attribute> |
InterfaceDeclarationImpl.getModifiers() |
List<? extends Attribute> |
FieldDeclarationImpl.getModifiers() |
List<? extends Attribute> |
EnumDeclarationImpl.getModifiers() |
List<? extends Attribute> |
ClassDeclarationImpl.getModifiers() |
List<? extends Attribute> |
InitializerDeclarationImpl.getModifiers() |
List<? extends Attribute> |
ConstructorDeclarationImpl.getModifiers() |
List<? extends Attribute> |
AnnotationDeclarationImpl.getModifiers() |
List<? extends Attribute> |
EnumConstantDeclarationImpl.getModifiers() |
Modifier and Type | Method and Description |
---|---|
AnnotationDeclaration |
ModelFactoryImpl.newAnnotationDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
AnnotationElementDeclaration |
ModelFactoryImpl.newAnnotationElementDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression defaultExpression) |
ClassDeclaration |
ModelFactoryImpl.newClassDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeParameterDeclaration> typeParameters,
Type superClass,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
ClassDeclaration |
ModelFactoryImpl.newClassDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
Type superClass,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
ConstructorDeclaration |
ModelFactoryImpl.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Type> exceptionTypes,
Block body) |
ConstructorDeclaration |
ModelFactoryImpl.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements) |
EnumConstantDeclaration |
ModelFactoryImpl.newEnumConstantDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Expression> arguments,
ClassBody body) |
EnumDeclaration |
ModelFactoryImpl.newEnumDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends EnumConstantDeclaration> constantDeclarations,
TypeBodyDeclaration... bodyDeclarations) |
EnumDeclaration |
ModelFactoryImpl.newEnumDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Type> superInterfaceTypes,
List<? extends EnumConstantDeclaration> constantDeclarations,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
FieldDeclaration |
ModelFactoryImpl.newFieldDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
List<? extends VariableDeclarator> variableDeclarators) |
FieldDeclaration |
ModelFactoryImpl.newFieldDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression initializer) |
FormalParameterDeclaration |
ModelFactoryImpl.newFormalParameterDeclaration(List<? extends Attribute> modifiers,
Type type,
boolean variableArity,
SimpleName name,
int extraDimensions) |
InitializerDeclaration |
ModelFactoryImpl.newInitializerDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Block body) |
InterfaceDeclaration |
ModelFactoryImpl.newInterfaceDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
InterfaceDeclaration |
ModelFactoryImpl.newInterfaceDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeParameterDeclaration> typeParameters,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations) |
LocalVariableDeclaration |
ModelFactoryImpl.newLocalVariableDeclaration(List<? extends Attribute> modifiers,
Type type,
List<? extends VariableDeclarator> variableDeclarators) |
MethodDeclaration |
ModelFactoryImpl.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
int extraDimensions,
List<? extends Type> exceptionTypes,
Block body) |
MethodDeclaration |
ModelFactoryImpl.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements) |
void |
FormalParameterDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
AnnotationElementDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
MethodDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
LocalVariableDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
InterfaceDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
FieldDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
EnumDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
ClassDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
InitializerDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
ConstructorDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
AnnotationDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
void |
EnumConstantDeclarationImpl.setModifiers(List<? extends Attribute> modifiers)
Sets the modifiers and annotations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Annotation
An abstract super interface of annotations.
|
interface |
MarkerAnnotation
An interface which represents annotations without any annotation elements.
|
interface |
Modifier
An interface which represents modifiers.
|
interface |
NormalAnnotation
An interface which represents regular annotations which can have any annotation elements.
|
interface |
SingleElementAnnotation
An interface which represents single element annotations which only can have
value element. |
Modifier and Type | Method and Description |
---|---|
List<? extends Attribute> |
LocalVariableDeclaration.getModifiers()
Returns the modifiers and annotations.
|
List<? extends Attribute> |
FormalParameterDeclaration.getModifiers()
Returns the modifiers and annotations.
|
List<? extends Attribute> |
TypeBodyDeclaration.getModifiers()
Returns the modifiers and annotations.
|
Modifier and Type | Method and Description |
---|---|
AnnotationDeclaration |
ModelFactory.newAnnotationDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
AnnotationDeclaration object. |
AnnotationElementDeclaration |
ModelFactory.newAnnotationElementDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression defaultExpression)
Returns a new
AnnotationElementDeclaration object. |
ClassDeclaration |
ModelFactory.newClassDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeParameterDeclaration> typeParameters,
Type superClass,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
ClassDeclaration object. |
ClassDeclaration |
ModelFactory.newClassDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
Type superClass,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
ClassDeclaration object. |
ConstructorDeclaration |
ModelFactory.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Type> exceptionTypes,
Block body)
Returns a new
ConstructorDeclaration object. |
ConstructorDeclaration |
ModelFactory.newConstructorDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements)
Returns a new
ConstructorDeclaration object. |
EnumConstantDeclaration |
ModelFactory.newEnumConstantDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Expression> arguments,
ClassBody body)
Returns a new
EnumConstantDeclaration object. |
EnumDeclaration |
ModelFactory.newEnumDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends EnumConstantDeclaration> constantDeclarations,
TypeBodyDeclaration... bodyDeclarations)
Returns a new
EnumDeclaration object. |
EnumDeclaration |
ModelFactory.newEnumDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Type> superInterfaceTypes,
List<? extends EnumConstantDeclaration> constantDeclarations,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
EnumDeclaration object. |
FieldDeclaration |
ModelFactory.newFieldDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
List<? extends VariableDeclarator> variableDeclarators)
Returns a new
FieldDeclaration object. |
FieldDeclaration |
ModelFactory.newFieldDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression initializer)
Returns a new
FieldDeclaration object. |
FormalParameterDeclaration |
ModelFactory.newFormalParameterDeclaration(List<? extends Attribute> modifiers,
Type type,
boolean variableArity,
SimpleName name,
int extraDimensions)
Returns a new
FormalParameterDeclaration object. |
InitializerDeclaration |
ModelFactory.newInitializerDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Block body)
Returns a new
InitializerDeclaration object. |
InterfaceDeclaration |
ModelFactory.newInterfaceDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
InterfaceDeclaration object. |
InterfaceDeclaration |
ModelFactory.newInterfaceDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends TypeParameterDeclaration> typeParameters,
List<? extends Type> superInterfaceTypes,
List<? extends TypeBodyDeclaration> bodyDeclarations)
Returns a new
InterfaceDeclaration object. |
LocalVariableDeclaration |
ModelFactory.newLocalVariableDeclaration(List<? extends Attribute> modifiers,
Type type,
List<? extends VariableDeclarator> variableDeclarators)
Returns a new
LocalVariableDeclaration object. |
MethodDeclaration |
ModelFactory.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
List<? extends TypeParameterDeclaration> typeParameters,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
int extraDimensions,
List<? extends Type> exceptionTypes,
Block body)
Returns a new
MethodDeclaration object. |
MethodDeclaration |
ModelFactory.newMethodDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type returnType,
SimpleName name,
List<? extends FormalParameterDeclaration> formalParameters,
List<? extends Statement> statements)
Returns a new
MethodDeclaration object. |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AttributeBuilder.toAttributes()
Returns the attribute list which contains the added attributes as their order.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.