Module org.htmlunit.corejs
Interface FactoryBase
- All Superinterfaces:
Serializable,TypeInfoFactory
- All Known Implementing Classes:
AbstractCacheFactory,ClassValueCacheFactory,ClassValueCacheFactory.Concurrent,ClassValueCacheFactory.WeakReference,LegacyCacheFactory,LegacyCacheFactory.Concurrent,LegacyCacheFactory.WeakReference
- Author:
- ZZZank
-
Field Summary
Fields inherited from interface org.htmlunit.corejs.javascript.lc.type.TypeInfoFactory
EMPTY_ARRAY, GLOBAL -
Method Summary
Modifier and TypeMethodDescriptiondefault TypeInfoattachParam(TypeInfo base, List<TypeInfo> params) In general, implementations are recommended, but not required, to return aParameterizedTypeInfo.default Map<VariableTypeInfo,TypeInfo> computeConsolidationMapping(Class<?> type) default TypeInfocreate(GenericArrayType genericArrayType) default TypeInfocreate(ParameterizedType parameterizedType) default TypeInfocreate(WildcardType wildcardType) default TypeInfoMethods inherited from interface org.htmlunit.corejs.javascript.lc.type.TypeInfoFactory
associate, attachParam, consolidateType, create, create, create, createArray, createList, getConsolidationMapping
-
Method Details
-
create
- Specified by:
createin interfaceTypeInfoFactory
-
create
- Specified by:
createin interfaceTypeInfoFactory
-
create
- Specified by:
createin interfaceTypeInfoFactory
-
toArray
- Specified by:
toArrayin interfaceTypeInfoFactory- Returns:
- a TypeInfo representing an array type whose component type is the provided
componentparam - See Also:
-
attachParam
Description copied from interface:TypeInfoFactoryIn general, implementations are recommended, but not required, to return aParameterizedTypeInfo.Default implementations in Rhino will return a TypeInfo representing a parameterized type with raw type being
baseparam, and parameters beingparamsparam. If thebaseparam itself is already aParameterizedTypeInfo, the raw type will then beParameterizedTypeInfo.rawType()ofbase- Specified by:
attachParamin interfaceTypeInfoFactory- See Also:
-
computeConsolidationMapping
-