public interface FactoryBase extends TypeInfoFactory
EMPTY_ARRAY, GLOBAL, NO_CACHE| Modifier and Type | Method and Description |
|---|---|
default TypeInfo |
attachParam(TypeInfo base,
List<TypeInfo> params)
In general, implementations are recommended, but not required, to return a
ParameterizedTypeInfo. |
default Map<VariableTypeInfo,TypeInfo> |
computeConsolidationMapping(Class<?> type)
|
default TypeInfo |
create(GenericArrayType genericArrayType) |
default TypeInfo |
create(ParameterizedType parameterizedType) |
default TypeInfo |
create(WildcardType wildcardType) |
default void |
extractSuperMapping(Type superType,
Map<VariableTypeInfo,TypeInfo> pushTo) |
default TypeInfo |
toArray(TypeInfo component) |
associate, attachParam, consolidateAll, consolidateType, create, create, create, createArray, createList, get, getConsolidationMapping, getOrElse, matchPredefined, transformMappingdefault TypeInfo create(GenericArrayType genericArrayType)
create in interface TypeInfoFactorydefault TypeInfo create(ParameterizedType parameterizedType)
create in interface TypeInfoFactorydefault TypeInfo create(WildcardType wildcardType)
create in interface TypeInfoFactorydefault TypeInfo toArray(TypeInfo component)
toArray in interface TypeInfoFactorycomponent paramTypeInfo.isArray(),
TypeInfo.getComponentType()default TypeInfo attachParam(TypeInfo base, List<TypeInfo> params)
TypeInfoFactoryParameterizedTypeInfo.
Default implementations in Rhino will return a TypeInfo representing a parameterized type
with raw type being base param, and parameters being params param. If the
base param itself is already a ParameterizedTypeInfo, the raw type will then
be ParameterizedTypeInfo.rawType() of base
attachParam in interface TypeInfoFactoryParameterizedTypeInfodefault Map<VariableTypeInfo,TypeInfo> computeConsolidationMapping(Class<?> type)
default void extractSuperMapping(Type superType, Map<VariableTypeInfo,TypeInfo> pushTo)
Copyright © 2025 HtmlUnit. All rights reserved.