java.lang.Object
org.htmlunit.corejs.javascript.lc.type.impl.TypeInfoBase
org.htmlunit.corejs.javascript.lc.type.impl.ArrayTypeInfo
All Implemented Interfaces:
TypeInfo

public final class ArrayTypeInfo extends TypeInfoBase
  • Constructor Details

    • ArrayTypeInfo

      public ArrayTypeInfo(TypeInfo component)
  • Method Details

    • is

      public boolean is(Class<?> c)
      Returns:
      true if this TypeInfo represents the same class as the Class parameter, false otherwise
    • asClass

      public Class<?> asClass()
      Description copied from interface: TypeInfo
      Get the Class object represented by this TypeInfo. For a Type object, the TypeInfo object created from the Type object should return the exact same class as the one after Java erased its generic type info
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getComponentType

      public TypeInfo 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

      public TypeInfo consolidate(Map<VariableTypeInfo,TypeInfo> mapping)