public static class OperatorDescription.Declaration extends Object
| Constructor and Description |
|---|
Declaration(Class<? extends Annotation> annotationType,
Class<?> declaring,
Class<?> implementing,
String name,
List<Class<?>> parameterTypes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
getAnnotationType()
Returns the operator annotation type.
|
Class<?> |
getDeclaring()
Returns the declaring class.
|
Class<?> |
getImplementing()
Returns the implementation class.
|
String |
getName()
Returns the operator method name.
|
List<Class<?>> |
getParameterTypes()
Returns the erased parameter types of the operator method.
|
Method |
toMethod()
Returns the reflective object of the target operator method.
|
String |
toString() |
public Declaration(Class<? extends Annotation> annotationType, Class<?> declaring, Class<?> implementing, String name, List<Class<?>> parameterTypes)
annotationType - the operator annotation typedeclaring - the declaring class (a.k.a. operator class)implementing - the implementation classname - the operator method nameparameterTypes - the erased parameter types of the operator methodIllegalArgumentException - if some parameters are nullpublic Class<? extends Annotation> getAnnotationType()
public Class<?> getDeclaring()
public Class<?> getImplementing()
public String getName()
public List<Class<?>> getParameterTypes()
public Method toMethod()
null if there is no such a corresponding methodCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.