public final class ParameterWrapper extends Object implements ParameterElement
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY |
IMPLICIT_ARGUMENT_TYPES| Constructor and Description |
|---|
ParameterWrapper(Method owner,
int index) |
| Modifier and Type | Method and Description |
|---|---|
default String |
getAlias() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Retrieves an annotation of the
WithAnnotations component |
Annotation[] |
getAnnotations() |
default String |
getDescription() |
Type |
getJavaType() |
String |
getName()
Returns the component's name
|
String |
getOwnerDescription() |
Parameter |
getParameter() |
TypeWrapper |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringElementdefaultValue, getMetadataType, isRequired, shouldBeAdvertisedisAnnotatedWithpublic static final String EMPTY
public ParameterWrapper(Method owner, int index)
public Parameter getParameter()
getParameter in interface ParameterElementParameterpublic TypeWrapper getType()
TypeWrapper of the represented componentpublic 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 String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectStringpublic String getOwnerDescription()
public Type getJavaType()
getJavaType in interface ExtensionParameterType of an ExtensionParameterpublic String getAlias()
public String getDescription()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.