Package | Description |
---|---|
com.asakusafw.operator |
Asakusa Operator DSL Compiler Core APIs.
|
com.asakusafw.operator.builtin |
Built-in Asakusa Operator Drivers.
|
com.asakusafw.operator.description |
Description classes.
|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
Modifier and Type | Field and Description |
---|---|
static ClassDescription |
Constants.TYPE_ANNOTATION_HELPER
OperatorHelper annotation type name. |
static ClassDescription |
Constants.TYPE_ELEMENT_BUILDER
FlowElementBuilder type name. |
static ClassDescription |
Constants.TYPE_EXPORT
Export type name. |
static ClassDescription |
Constants.TYPE_EXPORTER_DESC
ExporterDescription type name. |
static ClassDescription |
Constants.TYPE_FLOW_DESCRIPTION
FlowDescription type name. |
static ClassDescription |
Constants.TYPE_FLOW_PART
FlowPart annotation type name. |
static ClassDescription |
Constants.TYPE_GROUP_VIEW
GroupView type name. |
static ClassDescription |
Constants.TYPE_IMPORT
Import type name. |
static ClassDescription |
Constants.TYPE_IMPORTER_DESC
ImporterDescription type name. |
static ClassDescription |
Constants.TYPE_IN
In type name. |
static ClassDescription |
Constants.TYPE_JOINED
Joined type name. |
static ClassDescription |
Constants.TYPE_KEY
Key type name. |
static ClassDescription |
Constants.TYPE_OUT
Out type name. |
static ClassDescription |
Constants.TYPE_RESULT
Result type name. |
static ClassDescription |
Constants.TYPE_SOURCE
Source type name. |
static ClassDescription |
Constants.TYPE_SUMMARIZED
Summarized type name. |
static ClassDescription |
Constants.TYPE_VIEW
View type name. |
Modifier and Type | Method and Description |
---|---|
ClassDescription |
OperatorDriver.getAnnotationTypeName()
Returns the target annotation type name.
|
static ClassDescription |
Constants.getBuiltinOperatorClass(String simpleName)
Returns the implementation class name of target class with the specified name.
|
static ClassDescription |
Constants.getFactoryClass(CharSequence originalName)
Returns the factory class name of target class with the specified name.
|
static ClassDescription |
Constants.getImplementationClass(CharSequence originalName)
Returns the implementation class name of target class with the specified name.
|
Modifier and Type | Method and Description |
---|---|
DataModelMirror |
CompileEnvironment.findDataModel(ClassDescription typeName)
Returns data-model mirror.
|
DeclaredType |
CompileEnvironment.findDeclaredType(ClassDescription aClass)
Returns the type mirror witch has the specified qualified name.
|
TypeElement |
CompileEnvironment.findTypeElement(ClassDescription aClass)
Returns the type element which has the specified qualified name.
|
boolean |
CompileEnvironment.isResourceGenerated(ClassDescription key)
Returns whether the target resources is generated or not.
|
void |
CompileEnvironment.setResourceGenerated(ClassDescription key)
Sets the target resources is generated.
|
Modifier and Type | Method and Description |
---|---|
static ClassDescription |
Descriptions.classOf(Class<?> aClass)
Converts a class object into related
ClassDescription . |
ClassDescription |
AnnotationDescription.getDeclaringClass()
Returns the declaring annotation type.
|
ClassDescription |
EnumConstantDescription.getDeclaringClass()
Returns the declaring enum type.
|
ClassDescription |
ClassDescription.getErasure() |
ClassDescription |
AnnotationDescription.getValueType() |
ClassDescription |
ObjectDescription.getValueType() |
ClassDescription |
EnumConstantDescription.getValueType() |
static ClassDescription |
ClassDescription.of(Class<?> aClass)
Returns an instance.
|
Modifier and Type | Method and Description |
---|---|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
String methodName,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
String methodName,
ValueDescription... arguments)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
ValueDescription... arguments)
Creates a new instance.
|
Constructor and Description |
---|
AnnotationDescription(ClassDescription declaringClass)
Creates a new instance for marker annotation.
|
AnnotationDescription(ClassDescription declaringClass,
Map<String,? extends ValueDescription> elements)
Creates a new instance.
|
AnnotationDescription(ClassDescription declaringClass,
ValueDescription value)
Creates a new instance for single element annotation.
|
EnumConstantDescription(ClassDescription declaringClass,
String name)
Creates a new instance.
|
ObjectDescription(ClassDescription objectType,
String methodName,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ClassDescription |
DescriptionHelper.toDescription(CompileEnvironment environment,
DeclaredType type)
Returns the description.
|
static ClassDescription |
DescriptionHelper.toDescription(CompileEnvironment environment,
TypeElement element)
Returns the description.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.