public static class GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> extends Object
| Constructor and Description |
|---|
RawTypeDeclaringContext(GenericContextAwarePojoGenericTypeModel.Helper helper,
Class<T> rawType) |
| Modifier and Type | Method and Description |
|---|---|
<U> PojoGenericTypeModel<U> |
createGenericTypeModel(Class<U> declaredType) |
PojoGenericTypeModel<?> |
createGenericTypeModel(Type declaredType) |
public RawTypeDeclaringContext(GenericContextAwarePojoGenericTypeModel.Helper helper, Class<T> rawType)
public <U> PojoGenericTypeModel<U> createGenericTypeModel(Class<U> declaredType)
public PojoGenericTypeModel<?> createGenericTypeModel(Type declaredType)
declaredType - The type to create a generic type model fordeclaredType in this context.
The type parameter can safely be assumed to be exactly the type declaredType.
For instance if declaredType is String.class,
the returned type model will be an instance of PojoGenericTypeModel<String>.
If declaredType is List<String>, it will be PojoGenericTypeModel<List<String>>,
and so on.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.