public class Jdk8TypeModifier extends TypeModifier
| Constructor and Description |
|---|
Jdk8TypeModifier() |
| Modifier and Type | Method and Description |
|---|---|
JavaType |
modifyType(JavaType type,
Type jdkType,
TypeBindings bindings,
TypeFactory typeFactory)
Method called to let modifier change constructed type definition.
|
public JavaType modifyType(JavaType type, Type jdkType, TypeBindings bindings, TypeFactory typeFactory)
TypeModifierjava.util.Collection or java.util.Map).modifyType in class TypeModifiertype - Instance to modifyjdkType - JDK type that was used to construct instance to modifybindings - Type resolution context used for the typetypeFactory - Type factory that can be used to construct parameter type; note,
however, that care must be taken to avoid infinite loops -- specifically, do not
construct instance of primary type itselftype (as is or with
modifications), or a newly constructed type instance based on it. Cannot be null.Copyright © 2018 JBoss by Red Hat. All rights reserved.