public final class MethodWrapper extends Object implements MethodElement
| Constructor and Description |
|---|
MethodWrapper(Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Retrieves an annotation of the
WithAnnotations component |
Annotation[] |
getAnnotations() |
Class |
getDeclaringClass() |
Method |
getMethod() |
String |
getName()
Returns the component's name
|
List<ExtensionParameter> |
getParameterGroups() |
List<ExtensionParameter> |
getParameters() |
List<ExtensionParameter> |
getParametersAnnotatedWith(Class<? extends Annotation> annotationClass) |
Class<?> |
getReturnType() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlias, getDescriptionisAnnotatedWithpublic MethodWrapper(Method method)
public Method getMethod()
getMethod in interface MethodElementpublic Class getDeclaringClass()
getDeclaringClass in interface WithDeclaringClassType representspublic List<ExtensionParameter> getParameters()
getParameters in interface WithParametersExtensionParameter that represents the parameters of the componentpublic List<ExtensionParameter> getParameterGroups()
getParameterGroups in interface WithParametersExtensionParameter that represents the parameters of the component that are considered as parameter
groupspublic List<ExtensionParameter> getParametersAnnotatedWith(Class<? extends Annotation> annotationClass)
getParametersAnnotatedWith in interface WithParametersannotationClass - Annotation to look for parameters annotated with this classExtensionParameter that are annotated with the given Annotation Classpublic String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectStringpublic Annotation[] getAnnotations()
getAnnotations in interface WithAnnotationsWithAnnotations component is annotated withpublic <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationClass)
WithAnnotations componentgetAnnotation in interface WithAnnotationsA - The annotation typeannotationClass - Of the annotation to retrieveOptional annotation to retrievepublic Class<?> getReturnType()
Class of the implementer componentCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.