public class OperatorElement extends Object
Constructor and Description |
---|
OperatorElement(AnnotationMirror annotation,
ExecutableElement declaration,
OperatorDescription description)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
AnnotationMirror |
getAnnotation()
Returns the annotation of target operator/flow-part.
|
ExecutableElement |
getDeclaration()
Returns the method/constructor declaration of this operator.
|
OperatorDescription |
getDescription()
Returns the description of this operator element.
|
public OperatorElement(AnnotationMirror annotation, ExecutableElement declaration, OperatorDescription description)
annotation
- target annotationdeclaration
- method/constructor that declares this operator elementdescription
- description of this operator (nullable)IllegalArgumentException
- if some parameters were null
public AnnotationMirror getAnnotation()
public ExecutableElement getDeclaration()
public OperatorDescription getDescription()
null
if it is not describedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.