Module org.htmlunit.corejs
Class VariableTypeInfoImpl
java.lang.Object
org.htmlunit.corejs.javascript.lc.type.impl.TypeInfoBase
org.htmlunit.corejs.javascript.lc.type.impl.VariableTypeInfoImpl
- All Implemented Interfaces:
TypeInfo,VariableTypeInfo
- Author:
- ZZZank
-
Field Summary
Fields inherited from interface org.htmlunit.corejs.javascript.lc.type.TypeInfo
BIG_INT, BOOLEAN, BYTE, CHARACTER, DATE, DOUBLE, FLOAT, INT, LONG, NONE, NUMBER, OBJECT, OBJECT_ARRAY, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHARACTER, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, PRIMITIVE_VOID, RAW_CLASS, RAW_CONSUMER, RAW_ENUM_SET, RAW_FUNCTION, RAW_LIST, RAW_MAP, RAW_OPTIONAL, RAW_PREDICATE, RAW_SET, RAW_SUPPLIER, RUNNABLE, SHORT, STRING, STRING_ARRAY, VOID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbounds(TypeInfoFactory factory) consolidate(Map<VariableTypeInfo, TypeInfo> mapping) booleaninthashCode()The main bound is what aTypeVariablewill become when converted to aClass, aka what this type should be after Java erased generic type infoname()Methods inherited from class org.htmlunit.corejs.javascript.lc.type.impl.TypeInfoBase
newArray, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.lc.type.TypeInfo
createDefaultValue, enumConstants, getComponentType, is, isAssignableFrom, isFunctionalInterface, isInstance, isNot, isPrimitive, newArray, param, toString, toStringMethods inherited from interface org.htmlunit.corejs.javascript.lc.type.VariableTypeInfo
asClass, getTypeTag, isArray, isBoolean, isByte, isCharacter, isDouble, isEnum, isFloat, isInt, isInterface, isLong, isNumber, isObjectExact, isShort, isString, isVoid, shouldReplace
-
Constructor Details
-
VariableTypeInfoImpl
-
-
Method Details
-
name
- Specified by:
namein interfaceVariableTypeInfo- See Also:
-
bounds
- Specified by:
boundsin interfaceVariableTypeInfo- See Also:
-
mainBound
Description copied from interface:VariableTypeInfoThe main bound is what aTypeVariablewill become when converted to aClass, aka what this type should be after Java erased generic type infofor
T, the main bound will beObject, forT extends XXX, the main bound will beXXX, forT extends XXX & YYY & ZZZthe main bound will still beXXX- Specified by:
mainBoundin interfaceVariableTypeInfo- See Also:
-
consolidate
- Specified by:
consolidatein interfaceTypeInfo
-
hashCode
public int hashCode() -
equals
-