| Package | Description |
|---|---|
| org.mule.runtime.core.internal.util.generics |
| Modifier and Type | Method and Description |
|---|---|
static MethodParameter |
MethodParameter.forMethodOrConstructor(Object methodOrConstructor,
int parameterIndex)
Create a new MethodParameter for the given method or constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
GenericsUtils.getCollectionParameterType(MethodParameter methodParam)
Determine the generic element type of the given Collection parameter.
|
static Class<?> |
GenericsUtils.getMapKeyParameterType(MethodParameter methodParam)
Determine the generic key type of the given Map parameter.
|
static Class<?> |
GenericsUtils.getMapValueParameterType(MethodParameter methodParam)
Determine the generic value type of the given Map parameter.
|
static Type |
GenericTypeResolver.getTargetType(MethodParameter methodParam)
Determine the target type for the given parameter specification.
|
static Class<?> |
GenericTypeResolver.resolveParameterType(MethodParameter methodParam,
Class clazz)
Determine the target type for the given generic parameter type.
|
| Constructor and Description |
|---|
MethodParameter(MethodParameter original)
Copy constructor, resulting in an independent MethodParameter object based on the same metadata and cache state that the
original object was in.
|
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.