public abstract class TypeModifier extends java.lang.Object
JavaTypeinstances constructed using
TypeFactory. Registered modifiers are called in order, to let them modify (or replace) basic type instance factory constructs. This is typically needed to support creation of
CollectionLikeTypeinstances, as those can not be constructed in generic fashion.
|Constructor and Description|
|Modifier and Type||Method and Description|
Method called to let modifier change constructed type definition.
public abstract JavaType modifyType(JavaType type, java.lang.reflect.Type jdkType, TypeBindings context, TypeFactory typeFactory)
type- Instance to modify
jdkType- JDK type that was used to construct instance to modify
context- Type resolution context used for the type
typeFactory- 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 itself
type(as is or with modifications), or a newly constructed type instance based on it. Can not be null.
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"