java.lang.Object
org.htmlunit.corejs.javascript.lc.type.impl.TypeInfoBase
org.htmlunit.corejs.javascript.lc.type.impl.ArrayTypeInfo
- All Implemented Interfaces:
TypeInfo
-
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 TypeMethodDescriptionClass<?>asClass()consolidate(Map<VariableTypeInfo, TypeInfo> mapping) booleanintarray type is not any of the base typesinthashCode()booleanbooleanisArray()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, isAssignableFrom, isBoolean, isByte, isCharacter, isDouble, isEnum, isFloat, isFunctionalInterface, isInstance, isInt, isInterface, isLong, isNot, isNumber, isObjectExact, isPrimitive, isShort, isString, isVoid, param, shouldReplace
-
Constructor Details
-
ArrayTypeInfo
-
-
Method Details
-
is
- Returns:
- true if this TypeInfo represents the same class as the
Classparameter, false otherwise
-
asClass
Description copied from interface:TypeInfo -
equals
-
hashCode
public int hashCode() -
getComponentType
- See Also:
-
isArray
public boolean isArray()- See Also:
-
getTypeTag
public int getTypeTag()array type is not any of the base types- See Also:
-
consolidate
-