Package | Description |
---|---|
com.asakusafw.operator |
Asakusa Operator DSL Compiler Core APIs.
|
com.asakusafw.operator.dmdl |
Internal representation of Asakusa data models using DMDL.
|
com.asakusafw.operator.flowpart |
Asakusa Operator DSL Compiler for flow-parts.
|
com.asakusafw.operator.method |
Asakusa Operator DSL Compiler for operator methods.
|
com.asakusafw.operator.model |
Internal representation of Asakusa operators and data models.
|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
Modifier and Type | Field and Description |
---|---|
protected CompileEnvironment |
AbstractOperatorAnnotationProcessor.environment
The current compile environment.
|
Modifier and Type | Method and Description |
---|---|
protected abstract CompileEnvironment |
AbstractOperatorAnnotationProcessor.createCompileEnvironment(ProcessingEnvironment processingEnv)
Creates a compile environment for this processing (for testing).
|
CompileEnvironment |
OperatorDriver.Context.getEnvironment()
Returns the current compiling environment.
|
static CompileEnvironment |
CompileEnvironment.newInstance(ProcessingEnvironment processingEnvironment,
ClassLoader serviceLoader,
CompileEnvironment.Support... features)
Creates a new instance.
|
static CompileEnvironment |
CompileEnvironment.newInstance(ProcessingEnvironment processingEnvironment,
CompileEnvironment.Support... features)
Creates a new instance.
|
CompileEnvironment |
CompileEnvironment.withEnumConstantParameter(boolean newValue)
Sets whether or not the operators can accept enum constants as value parameter.
|
CompileEnvironment |
CompileEnvironment.withFlowpartExternalIo(boolean newValue)
Sets whether external I/O declarations are available in flow-parts or not.
|
CompileEnvironment |
CompileEnvironment.withForceGenerateImplementation(boolean newValue)
Sets whether always generates implementation classes or not.
|
CompileEnvironment |
CompileEnvironment.withForceNormalizeMemberName(boolean newValue)
Sets whether or not the member names must be normalized.
|
CompileEnvironment |
CompileEnvironment.withForceRegenerateResources(boolean newValue)
Sets whether always re-generates resources.
|
CompileEnvironment |
CompileEnvironment.withStrictOperatorParameterOrder(boolean newValue)
Sets whether the operator method parameter must be strict ordered or not.
|
CompileEnvironment |
CompileEnvironment.withStrictOptionalOutputConnectivity(boolean newValue)
Sets whether or not the operator outputs must not be opened even if they are optional.
|
CompileEnvironment |
CompileEnvironment.withUnboundProjection(boolean newValue)
Sets whether or not the operators can accept unbound projective models.
|
CompileEnvironment |
CompileEnvironment.withWarningAction(WarningAction newValue)
Sets the warning action type.
|
Modifier and Type | Method and Description |
---|---|
DataModelMirror |
DataModelMirrorRepository.load(CompileEnvironment environment,
TypeMirror type)
Loads a mirror of the data model corresponded to the specified type.
|
void |
CompileEnvironment.Support.set(CompileEnvironment target,
boolean value)
Sets this feature.
|
Constructor and Description |
---|
Context(CompileEnvironment environment,
AnnotationMirror annotation,
ExecutableElement method)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<PropertyMirror> |
DmdlDataModelMirrorRepository.collect(CompileEnvironment environment,
TypeMirror targetType,
List<TypeElement> upperBounds) |
DataModelMirror |
DmdlDataModelMirrorRepository.load(CompileEnvironment environment,
TypeMirror type) |
Modifier and Type | Method and Description |
---|---|
protected CompileEnvironment |
FlowPartAnnotationProcessor.createCompileEnvironment(ProcessingEnvironment processingEnv) |
Constructor and Description |
---|
FlowPartAnalyzer(CompileEnvironment environment)
Creates a new instance.
|
FlowPartFactoryEmitter(CompileEnvironment environment)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected CompileEnvironment |
OperatorAnnotationProcessor.createCompileEnvironment(ProcessingEnvironment processingEnv) |
Constructor and Description |
---|
OperatorFactoryEmitter(CompileEnvironment environment)
Creates a new instance.
|
OperatorImplementationEmitter(CompileEnvironment environment)
Creates a new instance.
|
OperatorMethodAnalyzer(CompileEnvironment environment)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<PropertyMirror> |
PropertyMirrorCollector.collect(CompileEnvironment environment,
TypeMirror targetType,
List<TypeElement> upperBounds)
Creates and returns the set of properties.
|
static ExternMirror |
ExternMirror.parse(CompileEnvironment environment,
AnnotationMirror source,
Element annotationOwner)
Parses the target
Import /Export annotation. |
static KeyMirror |
KeyMirror.parse(CompileEnvironment environment,
AnnotationMirror source,
Element annotationOwner,
DataModelMirror contextType)
Parses the target
Key annotation. |
Constructor and Description |
---|
ConcreteDataModelMirror(CompileEnvironment environment,
DeclaredType type,
PropertyMirrorCollector collector)
Creates a new instance.
|
PartialDataModelMirror(CompileEnvironment environment,
TypeVariable type,
PropertyMirrorCollector collector)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
AnnotationHelper.extractList(CompileEnvironment environment,
Class<T> componentValueType,
List<? extends AnnotationValue> values)
Extracts component values in the target list.
|
static AnnotationMirror |
AnnotationHelper.findAnnotation(CompileEnvironment environment,
TypeElement annotationDecl,
Element element)
Returns the annotation presented in the target element.
|
static TypeMirror |
TypeHelper.getInType(CompileEnvironment environment,
TypeMirror type)
Returns the type argument of
In type. |
static TypeMirror |
TypeHelper.getOutType(CompileEnvironment environment,
TypeMirror type)
Returns the type argument of
Out type. |
static AnnotationValue |
AnnotationHelper.getValue(CompileEnvironment environment,
AnnotationMirror annotation,
String name)
Returns the value of annotation member.
|
static Map<String,AnnotationValue> |
AnnotationHelper.getValues(CompileEnvironment environment,
AnnotationMirror annotation)
Returns the name-value pairs in annotation.
|
static boolean |
TypeHelper.isIn(CompileEnvironment environment,
TypeMirror type)
Returns whether the target type represents an input dataset.
|
static boolean |
TypeHelper.isOperatorHelper(CompileEnvironment environment,
TypeMirror type)
Returns whether the target type is an operator helper annotation.
|
static boolean |
TypeHelper.isOut(CompileEnvironment environment,
TypeMirror type)
Returns whether the target type represents an output dataset.
|
static List<Expression> |
ElementHelper.toArguments(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Creates arguments about operator element.
|
static ClassDescription |
DescriptionHelper.toDescription(CompileEnvironment environment,
DeclaredType type)
Returns the description.
|
static ClassDescription |
DescriptionHelper.toDescription(CompileEnvironment environment,
TypeElement element)
Returns the description.
|
static TypeDescription |
DescriptionHelper.toDescription(CompileEnvironment environment,
TypeMirror type)
Returns the description.
|
static List<Statement> |
ElementHelper.toNodeConstructorStatements(CompileEnvironment environment,
OperatorElement element,
Expression builderExpression,
ImportBuilder imports)
Creates operator node constructor statements.
|
static Annotation |
ElementHelper.toOperatorFactoryAnnotation(CompileEnvironment environment,
OperatorClass element,
ImportBuilder imports)
Returns annotation for the operator factory classes.
|
static Annotation |
ElementHelper.toOperatorInfoAnnotation(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Returns annotation for the operator factory methods.
|
static Type |
ElementHelper.toParameterizedType(CompileEnvironment environment,
List<? extends TypeParameterElement> typeParameters,
Type rawNodeType,
ImportBuilder imports)
Creates a parameterized about operator element.
|
static List<FormalParameterDeclaration> |
ElementHelper.toParameters(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Creates type parameter declarations about operator element.
|
static List<TypeParameterDeclaration> |
ElementHelper.toTypeParameters(CompileEnvironment environment,
List<? extends TypeParameterElement> typeParameters,
ImportBuilder imports)
Creates type parameters about operator element.
|
static List<AnnotationValue> |
AnnotationHelper.toValueList(CompileEnvironment environment,
AnnotationValue value)
Converts the value into component list.
|
static boolean |
ElementHelper.validate(CompileEnvironment environment,
ExecutableElement element,
OperatorDescription description)
Validates
OperatorDescription and raises errors when it is not valid. |
Constructor and Description |
---|
JavadocHelper(CompileEnvironment environment)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.