public class AnnotatedArgumentBuilder extends Object implements ResolverArgumentBuilder
| Constructor and Description |
|---|
AnnotatedArgumentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected OperationArgument |
buildResolverArgument(Parameter parameter,
AnnotatedType parameterType,
InclusionStrategy inclusionStrategy,
GlobalEnvironment environment) |
List<OperationArgument> |
buildResolverArguments(ArgumentBuilderParams params) |
protected Object |
defaultValue(Parameter parameter,
AnnotatedType parameterType,
GlobalEnvironment environment) |
protected <T extends DefaultValueProvider> |
defaultValueProvider(Class<T> type,
GlobalEnvironment environment) |
protected String |
getArgumentDescription(Parameter parameter,
AnnotatedType parameterType,
MessageBundle messageBundle) |
protected String |
getArgumentName(Parameter parameter,
AnnotatedType parameterType,
InclusionStrategy inclusionStrategy,
MessageBundle messageBundle) |
public List<OperationArgument> buildResolverArguments(ArgumentBuilderParams params)
buildResolverArguments in interface ResolverArgumentBuilderprotected OperationArgument buildResolverArgument(Parameter parameter, AnnotatedType parameterType, InclusionStrategy inclusionStrategy, GlobalEnvironment environment)
protected String getArgumentName(Parameter parameter, AnnotatedType parameterType, InclusionStrategy inclusionStrategy, MessageBundle messageBundle)
protected String getArgumentDescription(Parameter parameter, AnnotatedType parameterType, MessageBundle messageBundle)
protected Object defaultValue(Parameter parameter, AnnotatedType parameterType, GlobalEnvironment environment)
protected <T extends DefaultValueProvider> T defaultValueProvider(Class<T> type, GlobalEnvironment environment) throws ReflectiveOperationException
ReflectiveOperationExceptionCopyright © 2016–2018. All rights reserved.