public class MethodElementAST<T extends org.mule.runtime.module.extension.api.loader.java.type.Type> extends Object implements org.mule.runtime.module.extension.api.loader.java.type.MethodElement<T>
MethodElement implementation which works with the Java AST| Modifier and Type | Field and Description |
|---|---|
protected ExecutableElement |
method |
protected ProcessingEnvironment |
processingEnvironment |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
Optional<Class<?>> |
getDeclaringClass() |
Optional<ExecutableElement> |
getElement() |
T |
getEnclosingType() |
List<org.mule.runtime.module.extension.api.loader.java.type.Type> |
getExceptionTypes() |
Optional<Method> |
getMethod() |
String |
getName() |
List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> |
getParameterGroups() |
List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> |
getParameters() |
List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> |
getParametersAnnotatedWith(Class<? extends Annotation> annotationClass) |
ASTType |
getReturnType() |
<A extends Annotation> |
getValueFromAnnotation(Class<A> annotationClass) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAttributesMetadataType, getReturnMetadataTypeprotected final ProcessingEnvironment processingEnvironment
protected final ExecutableElement method
public Optional<Method> getMethod()
getMethod in interface org.mule.runtime.module.extension.api.loader.java.type.MethodElement<T extends org.mule.runtime.module.extension.api.loader.java.type.Type>Optional.empty(). This implementation doesn't support to return Method.public List<org.mule.runtime.module.extension.api.loader.java.type.Type> getExceptionTypes()
getExceptionTypes in interface org.mule.runtime.module.extension.api.loader.java.type.MethodElement<T extends org.mule.runtime.module.extension.api.loader.java.type.Type>public T getEnclosingType()
getEnclosingType in interface org.mule.runtime.module.extension.api.loader.java.type.MethodElement<T extends org.mule.runtime.module.extension.api.loader.java.type.Type>public List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> getParameters()
getParameters in interface org.mule.runtime.module.extension.api.loader.java.type.WithParameterspublic List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> getParameterGroups()
getParameterGroups in interface org.mule.runtime.module.extension.api.loader.java.type.WithParameterspublic List<org.mule.runtime.module.extension.api.loader.java.type.ExtensionParameter> getParametersAnnotatedWith(Class<? extends Annotation> annotationClass)
getParametersAnnotatedWith in interface org.mule.runtime.module.extension.api.loader.java.type.WithParameterspublic ASTType getReturnType()
public String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationClass)
getAnnotation in interface org.mule.runtime.module.extension.api.loader.java.type.WithAnnotationspublic <A extends Annotation> Optional<org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A>> getValueFromAnnotation(Class<A> annotationClass)
getValueFromAnnotation in interface org.mule.runtime.module.extension.api.loader.java.type.WithAnnotationspublic Optional<Class<?>> getDeclaringClass()
getDeclaringClass in interface org.mule.runtime.module.extension.api.loader.java.type.WithDeclaringClasspublic Optional<ExecutableElement> getElement()
getElement in interface org.mule.runtime.module.extension.api.loader.java.type.MethodElement<T extends org.mule.runtime.module.extension.api.loader.java.type.Type>getElement in interface org.mule.runtime.module.extension.api.loader.java.type.WithElementCopyright © 2018 MuleSoft, Inc.. All rights reserved.