| Constructor and Description |
|---|
NativeJavaField(Field field,
TypeInfoFactory typeFactory) |
| Modifier and Type | Field and Description |
|---|---|
static TypeInfoFactory |
TypeInfoFactory.GLOBAL
TypeInfoFactory used by scope independent actions.
|
static TypeInfoFactory |
TypeInfoFactory.NO_CACHE
TypeInfoFactory used by very few actions with the intention of not caching any used types
This factory does not cache
TypeInfo. |
| Modifier and Type | Method and Description |
|---|---|
default TypeInfoFactory |
TypeInfoFactory.associate(ScriptableObject topScope)
Associate this TypeInfoFactory object with the given top-level scope.
|
static TypeInfoFactory |
TypeInfoFactory.get(Scriptable scope)
Search for TypeInfoFactory in the given scope.
|
static TypeInfoFactory |
TypeInfoFactory.getOrElse(Scriptable scope,
TypeInfoFactory fallback)
Search for TypeInfoFactory in the given scope.
|
| Modifier and Type | Method and Description |
|---|---|
List<TypeInfo> |
VariableTypeInfo.bounds(TypeInfoFactory factory) |
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 |
static TypeInfoFactory |
TypeInfoFactory.getOrElse(Scriptable scope,
TypeInfoFactory fallback)
Search for TypeInfoFactory in the given scope.
|
List<TypeInfo> |
WildcardTypeInfo.lowerBounds(TypeInfoFactory factory) |
List<TypeInfo> |
WildcardTypeInfo.upperBounds(TypeInfoFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
List<TypeInfo> |
VariableTypeInfoImpl.bounds(TypeInfoFactory factory) |
Map<VariableTypeInfo,TypeInfo> |
ParameterizedTypeInfoImpl.extractConsolidationMapping(TypeInfoFactory factory) |
| Constructor and Description |
|---|
VariableTypeInfoImpl(TypeVariable<?> raw,
TypeInfoFactory factory) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FactoryBase |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentFactory
TypeInfoFactory implementation with a thread-safe (synchronized), strong-reference cache. |
class |
NoCacheFactory
TypeInfoFactory implementation with no cache. |
class |
WeakReferenceFactory
TypeInfoFactory implementation with a thread-safe (synchronized), weak-reference cache. |
class |
WithCacheFactory
TypeInfoFactory implementation with cache. |
Copyright © 2025 HtmlUnit. All rights reserved.