| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript.lc.type | |
| org.htmlunit.corejs.javascript.lc.type.impl | |
| org.htmlunit.corejs.javascript.lc.type.impl.factory |
| Modifier and Type | Method and Description |
|---|---|
default Map<VariableTypeInfo,TypeInfo> |
ParameterizedTypeInfo.extractConsolidationMapping(TypeInfoFactory factory)
Extract consolidation mapping based on
ParameterizedTypeInfo.params() and Class.getTypeParameters()
Example: type is List<String>, calling ((ParameterizedTypeInfo)
type).extractConsolidationMapping(TypeInfoFactory.GLOBAL) will give E -> String,
where the E the type variable declared by List |
default Map<VariableTypeInfo,TypeInfo> |
TypeInfoFactory.getConsolidationMapping(Class<?> from)
Get consolidation mapping from the input class.
|
static Map<VariableTypeInfo,TypeInfo> |
TypeInfoFactory.transformMapping(Map<VariableTypeInfo,TypeInfo> mapping,
Map<VariableTypeInfo,TypeInfo> transformer)
Transform a mapping by applying
TypeInfo.consolidate(Map) on its values. |
| Modifier and Type | Method and Description |
|---|---|
default TypeInfo |
TypeInfo.consolidate(Map<VariableTypeInfo,TypeInfo> mapping) |
static List<TypeInfo> |
TypeInfoFactory.consolidateAll(List<TypeInfo> types,
Map<VariableTypeInfo,TypeInfo> mapping)
Transform provided
types by applying TypeInfo.consolidate(Map) on its
elements
Example: types is [int, E], mapping is E -> String, return value will then
be [int, String] |
static Map<VariableTypeInfo,TypeInfo> |
TypeInfoFactory.transformMapping(Map<VariableTypeInfo,TypeInfo> mapping,
Map<VariableTypeInfo,TypeInfo> transformer)
Transform a mapping by applying
TypeInfo.consolidate(Map) on its values. |
static Map<VariableTypeInfo,TypeInfo> |
TypeInfoFactory.transformMapping(Map<VariableTypeInfo,TypeInfo> mapping,
Map<VariableTypeInfo,TypeInfo> transformer)
Transform a mapping by applying
TypeInfo.consolidate(Map) on its values. |
| Modifier and Type | Class and Description |
|---|---|
class |
VariableTypeInfoImpl |
| Modifier and Type | Method and Description |
|---|---|
Map<VariableTypeInfo,TypeInfo> |
ParameterizedTypeInfoImpl.extractConsolidationMapping(TypeInfoFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
TypeInfo |
VariableTypeInfoImpl.consolidate(Map<VariableTypeInfo,TypeInfo> mapping) |
TypeInfo |
ParameterizedTypeInfoImpl.consolidate(Map<VariableTypeInfo,TypeInfo> mapping) |
TypeInfo |
ArrayTypeInfo.consolidate(Map<VariableTypeInfo,TypeInfo> mapping) |
| Modifier and Type | Method and Description |
|---|---|
default Map<VariableTypeInfo,TypeInfo> |
FactoryBase.computeConsolidationMapping(Class<?> type)
|
Map<VariableTypeInfo,TypeInfo> |
WithCacheFactory.getConsolidationMapping(Class<?> from) |
Map<VariableTypeInfo,TypeInfo> |
NoCacheFactory.getConsolidationMapping(Class<?> from) |
| Modifier and Type | Method and Description |
|---|---|
default void |
FactoryBase.extractSuperMapping(Type superType,
Map<VariableTypeInfo,TypeInfo> pushTo) |
Copyright © 2025 HtmlUnit. All rights reserved.