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 TypeInfo |
create(GenericArrayType genericArrayType) |
default TypeInfo |
create(ParameterizedType parameterizedType) |
default TypeInfo |
create(WildcardType wildcardType) |
default TypeInfo |
toArray(TypeInfo component) |
associate, attachParam, create, create, create, createArray, createList, get, getConsolidationMapping, getOrElse, matchPredefineddefault 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 TypeInfoFactoryParameterizedTypeInfoCopyright © 2025 HtmlUnit. All rights reserved.