public class OperatorMethodAnalyzer extends Object
| Constructor and Description |
|---|
OperatorMethodAnalyzer(CompileEnvironment environment)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
register(TypeElement annotationDecl,
ExecutableElement methodDecl)
Registers an operator method declaration to this analyzer.
|
Collection<OperatorClass> |
resolve()
Resolves previously
registered operator methods. |
public OperatorMethodAnalyzer(CompileEnvironment environment)
environment - current compiling environmentIllegalArgumentException - if some parameters were nullpublic void register(TypeElement annotationDecl, ExecutableElement methodDecl)
annotationDecl - target annotation declarationmethodDecl - target method declarationIllegalArgumentException - if some parameters were nullpublic Collection<OperatorClass> resolve()
registered operator methods.null if no valid operator methods are registeredCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.