Package | Description |
---|---|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
Modifier and Type | Method and Description |
---|---|
static Type |
DescriptionHelper.resolve(ImportBuilder importer,
TypeDescription type)
Returns the resolved type.
|
static Annotation |
DescriptionHelper.resolveAnnotation(ImportBuilder importer,
AnnotationDescription annotation)
Returns the resolved annotation.
|
static Expression |
DescriptionHelper.resolveConstant(ImportBuilder importer,
ValueDescription constant)
Returns the resolved constant value.
|
static Expression |
DescriptionHelper.resolveValue(ImportBuilder importer,
ValueDescription value)
Returns the resolved value.
|
static List<Expression> |
ElementHelper.toArguments(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Creates arguments about operator element.
|
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.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.