public class ParameterTypeContext extends Object
| Constructor and Description |
|---|
ParameterTypeContext(Class<?> clazz) |
ParameterTypeContext(String parameterName,
AnnotatedType parameterType,
String declarerName) |
ParameterTypeContext(String parameterName,
AnnotatedType parameterType,
String declarerName,
Map<String,Type> typeVariables) |
ParameterTypeContext(String parameterName,
AnnotatedType parameterType,
String declarerName,
org.javaruntype.type.Type<?> token,
Map<String,org.javaruntype.type.Type<?>> typeVariables) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowMixedTypes() |
ParameterTypeContext |
allowMixedTypes(boolean value) |
ParameterTypeContext |
annotate(AnnotatedElement element) |
AnnotatedElement |
annotatedElement()
Deprecated.
This will likely go away when languages whose compilers
and interpreters produce class files that support annotations on type
uses.
|
AnnotatedType |
annotatedType() |
ParameterTypeContext |
arrayComponentContext() |
List<Weighted<Generator<?>>> |
explicitGenerators() |
Class<?> |
getRawClass() |
List<org.javaruntype.type.TypeParameter<?>> |
getTypeParameters() |
boolean |
isArray() |
boolean |
isEnum() |
String |
name() |
boolean |
topLevel()
Deprecated.
This will likely go away when languages whose compilers
and interpreters produce class files that support annotations on type
uses.
|
Type |
type() |
List<ParameterTypeContext> |
typeParameterContexts(SourceOfRandomness random) |
public ParameterTypeContext(String parameterName, AnnotatedType parameterType, String declarerName)
public ParameterTypeContext(String parameterName, AnnotatedType parameterType, String declarerName, Map<String,Type> typeVariables)
public ParameterTypeContext(String parameterName, AnnotatedType parameterType, String declarerName, org.javaruntype.type.Type<?> token, Map<String,org.javaruntype.type.Type<?>> typeVariables)
public ParameterTypeContext(Class<?> clazz)
public ParameterTypeContext annotate(AnnotatedElement element)
public ParameterTypeContext allowMixedTypes(boolean value)
public boolean allowMixedTypes()
public String name()
public AnnotatedType annotatedType()
public Type type()
@Deprecated public AnnotatedElement annotatedElement()
@Deprecated public boolean topLevel()
public boolean isArray()
public ParameterTypeContext arrayComponentContext()
public Class<?> getRawClass()
public boolean isEnum()
public List<org.javaruntype.type.TypeParameter<?>> getTypeParameters()
public List<ParameterTypeContext> typeParameterContexts(SourceOfRandomness random)
Copyright © 2019. All rights reserved.