Uses of Interface
org.htmlunit.corejs.javascript.lc.type.TypeInfo
Packages that use TypeInfo
Package
Description
lc: Live Connect.
-
Uses of TypeInfo in org.htmlunit.corejs.javascript
Fields in org.htmlunit.corejs.javascript declared as TypeInfoMethods in org.htmlunit.corejs.javascript with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic booleanNativeJavaObject.canConvert(Object fromObj, TypeInfo to) static ObjectWrap the object.WrapFactory.wrapAsJavaObject(Context cx, VarScope scope, Object javaObject, TypeInfo staticType) Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.Constructors in org.htmlunit.corejs.javascript with parameters of type TypeInfoModifierConstructorDescriptionNativeJavaArray(VarScope scope, Object array, TypeInfo staticType) NativeJavaList(VarScope scope, Object list, TypeInfo staticType) NativeJavaMap(VarScope scope, Object map, TypeInfo staticType) NativeJavaObject(VarScope scope, Object javaObject, TypeInfo staticType) NativeJavaObject(VarScope scope, Object javaObject, TypeInfo staticType, boolean isAdapter) -
Uses of TypeInfo in org.htmlunit.corejs.javascript.lc
Method parameters in org.htmlunit.corejs.javascript.lc with type arguments of type TypeInfoModifier and TypeMethodDescriptionstatic StringReflectUtils.liveConnectSignature(List<TypeInfo> argTypes) -
Uses of TypeInfo in org.htmlunit.corejs.javascript.lc.member
Methods in org.htmlunit.corejs.javascript.lc.member that return TypeInfoMethods in org.htmlunit.corejs.javascript.lc.member that return types with arguments of type TypeInfoMethod parameters in org.htmlunit.corejs.javascript.lc.member with type arguments of type TypeInfoModifier and TypeMethodDescriptionObject[]ExecutableBox.wrapArgsInternal(Object[] args, Map<VariableTypeInfo, TypeInfo> mapping) -
Uses of TypeInfo in org.htmlunit.corejs.javascript.lc.type
Subinterfaces of TypeInfo in org.htmlunit.corejs.javascript.lc.typeModifier and TypeInterfaceDescriptioninterfaceaTypeInfoimplementation representingParameterizedTypeinterfaceaTypeInfoimplementation representingTypeVariableinterfaceaTypeInfoimplementation representingWildcardTypeFields in org.htmlunit.corejs.javascript.lc.type declared as TypeInfoModifier and TypeFieldDescriptionstatic final TypeInfoTypeInfo.BIG_INTstatic final TypeInfoTypeInfo.BOOLEANstatic final TypeInfoTypeInfo.BYTEstatic final TypeInfoTypeInfo.CHARACTERstatic final TypeInfoTypeInfo.DATEstatic final TypeInfoTypeInfo.DOUBLEstatic final TypeInfo[]TypeInfoFactory.EMPTY_ARRAYstatic final TypeInfoTypeInfo.FLOATstatic final TypeInfoTypeInfo.INTstatic final TypeInfoTypeInfo.LONGstatic final TypeInfoTypeInfo.NONEstatic final TypeInfoTypeInfo.NUMBERstatic final TypeInfoTypeInfo.OBJECTuseisObjectExact()to determine whether a type represents aObjectclass, using `typeInfo == TypeInfo.OBJECT` might cause problem withVariableTypeInfostatic final TypeInfoTypeInfo.OBJECT_ARRAYstatic final TypeInfoTypeInfo.PRIMITIVE_BOOLEANstatic final TypeInfoTypeInfo.PRIMITIVE_BYTEstatic final TypeInfoTypeInfo.PRIMITIVE_CHARACTERstatic final TypeInfoTypeInfo.PRIMITIVE_DOUBLEstatic final TypeInfoTypeInfo.PRIMITIVE_FLOATstatic final TypeInfoTypeInfo.PRIMITIVE_INTstatic final TypeInfoTypeInfo.PRIMITIVE_LONGstatic final TypeInfoTypeInfo.PRIMITIVE_SHORTstatic final TypeInfoTypeInfo.PRIMITIVE_VOIDstatic final TypeInfoTypeInfo.RAW_CLASSstatic final TypeInfoTypeInfo.RAW_CONSUMERstatic final TypeInfoTypeInfo.RAW_ENUM_SETstatic final TypeInfoTypeInfo.RAW_FUNCTIONstatic final TypeInfoTypeInfo.RAW_LISTstatic final TypeInfoTypeInfo.RAW_MAPstatic final TypeInfoTypeInfo.RAW_OPTIONALstatic final TypeInfoTypeInfo.RAW_PREDICATEstatic final TypeInfoTypeInfo.RAW_SETstatic final TypeInfoTypeInfo.RAW_SUPPLIERstatic final TypeInfoTypeInfo.RUNNABLEstatic final TypeInfoTypeInfo.SHORTstatic final TypeInfoTypeInfo.STRINGstatic final TypeInfoTypeInfo.STRING_ARRAYstatic final TypeInfoTypeInfo.VOIDMethods in org.htmlunit.corejs.javascript.lc.type that return TypeInfoModifier and TypeMethodDescriptionTypeInfoFactory.attachParam(TypeInfo base, List<TypeInfo> params) In general, implementations are recommended, but not required, to return aParameterizedTypeInfo.default TypeInfoTypeInfoFactory.attachParam(TypeInfo base, TypeInfo... params) default TypeInfoTypeInfo.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) default TypeInfoTypeInfoFactory.consolidateType(TypeInfo type, TypeInfo consolidateHint) consolidate a type using the mapping extracted fromconsolidateHintTypeInfoFactory.create(GenericArrayType genericArrayType) TypeInfoFactory.create(ParameterizedType parameterizedType) default TypeInfoTypeInfoFactory.create(TypeVariable<?> typeVariable) TypeInfoFactory.create(WildcardType wildcardType) TypeInfoFactory.createArray(T[] types) default TypeInfoTypeInfo.getComponentType()VariableTypeInfo.mainBound()The main bound is what aTypeVariablewill become when converted to aClass, aka what this type should be after Java erased generic type infoWildcardTypeInfo.mainBound()static TypeInfoTypeInfoFactory.matchPredefined(Class<?> clazz) ParameterizedTypeInfo.ownerType()default TypeInfoParameterizedTypeInfo.param(int index) default TypeInfoTypeInfo.param(int index) Example:ParameterizedTypeInfo.rawType()Methods in org.htmlunit.corejs.javascript.lc.type that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionVariableTypeInfo.bounds(TypeInfoFactory factory) TypeInfoFactory.consolidateAll(List<TypeInfo> types, Map<VariableTypeInfo, TypeInfo> mapping) Transform providedtypesby applyingconsolidate(Map)on its elementsTypeInfoFactory.createList(T[] types) default Map<VariableTypeInfo,TypeInfo> ParameterizedTypeInfo.extractConsolidationMapping(TypeInfoFactory factory) Extract consolidation mapping based onParameterizedTypeInfo.params()andClass.getTypeParameters()default Map<VariableTypeInfo,TypeInfo> TypeInfoFactory.getConsolidationMapping(Class<?> from) Get consolidation mapping from the input class.WildcardTypeInfo.lowerBounds(TypeInfoFactory factory) ParameterizedTypeInfo.params()static Map<VariableTypeInfo,TypeInfo> TypeInfoFactory.transformMapping(Map<VariableTypeInfo, TypeInfo> mapping, Map<VariableTypeInfo, TypeInfo> transformer) Transform a mapping by applyingconsolidate(Map)on its values.WildcardTypeInfo.upperBounds(TypeInfoFactory factory) Methods in org.htmlunit.corejs.javascript.lc.type with parameters of type TypeInfoModifier and TypeMethodDescriptiondefault voidTypeFormatContext.append(StringBuilder builder, TypeInfo type) Format a type and push the result to providedStringBuilder.default voidTypeFormatContext.append(StringBuilder builder, TypeInfo type, boolean declaring) Format a type and push the result to providedStringBuilder.default voidTypeFormatContext.appendArray(StringBuilder builder, TypeInfo type) TypeInfoFactory.attachParam(TypeInfo base, List<TypeInfo> params) In general, implementations are recommended, but not required, to return aParameterizedTypeInfo.default TypeInfoTypeInfoFactory.attachParam(TypeInfo base, TypeInfo... params) default TypeInfoTypeInfoFactory.consolidateType(TypeInfo type, TypeInfo consolidateHint) consolidate a type using the mapping extracted fromconsolidateHintdefault booleanParameterizedTypeInfo.isAssignableFrom(TypeInfo another) default booleanTypeInfo.isAssignableFrom(TypeInfo another) Method parameters in org.htmlunit.corejs.javascript.lc.type with type arguments of type TypeInfoModifier and TypeMethodDescriptionTypeInfoFactory.attachParam(TypeInfo base, List<TypeInfo> params) In general, implementations are recommended, but not required, to return aParameterizedTypeInfo.default TypeInfoTypeInfo.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) TypeInfoFactory.consolidateAll(List<TypeInfo> types, Map<VariableTypeInfo, TypeInfo> mapping) Transform providedtypesby applyingconsolidate(Map)on its elementsTypeInfoFactory.consolidateAll(List<TypeInfo> types, Map<VariableTypeInfo, TypeInfo> mapping) Transform providedtypesby applyingconsolidate(Map)on its elementsstatic Map<VariableTypeInfo,TypeInfo> TypeInfoFactory.transformMapping(Map<VariableTypeInfo, TypeInfo> mapping, Map<VariableTypeInfo, TypeInfo> transformer) Transform a mapping by applyingconsolidate(Map)on its values. -
Uses of TypeInfo in org.htmlunit.corejs.javascript.lc.type.impl
Classes in org.htmlunit.corejs.javascript.lc.type.impl that implement TypeInfoModifier and TypeClassDescriptionfinal classclassclassclassclassenumDeclaring it as an enum ensures thatNoTypeInfois always singleton.final classclassclassfinal classMethods in org.htmlunit.corejs.javascript.lc.type.impl that return TypeInfoModifier and TypeMethodDescriptionArrayTypeInfo.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) ParameterizedTypeInfoImpl.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) VariableTypeInfoImpl.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) ArrayTypeInfo.getComponentType()VariableTypeInfoImpl.mainBound()ParameterizedTypeInfoImpl.ownerType()ParameterizedTypeInfoImpl.param(int index) ParameterizedTypeInfoImpl.rawType()Methods in org.htmlunit.corejs.javascript.lc.type.impl that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionVariableTypeInfoImpl.bounds(TypeInfoFactory factory) ParameterizedTypeInfoImpl.extractConsolidationMapping(TypeInfoFactory factory) ParameterizedTypeInfoImpl.params()Methods in org.htmlunit.corejs.javascript.lc.type.impl with parameters of type TypeInfoModifier and TypeMethodDescriptionvoidClassNameFormatContext.append(StringBuilder builder, TypeInfo type) voidClassNameFormatContext.append(StringBuilder builder, TypeInfo type, boolean declaring) voidClassNameFormatContext.appendArray(StringBuilder builder, TypeInfo type) booleanNoTypeInfo.isAssignableFrom(TypeInfo another) Objectclass is assignable from any classbooleanPrimitiveClassTypeInfo.isAssignableFrom(TypeInfo another) Method parameters in org.htmlunit.corejs.javascript.lc.type.impl with type arguments of type TypeInfoModifier and TypeMethodDescriptionArrayTypeInfo.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) ParameterizedTypeInfoImpl.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) VariableTypeInfoImpl.consolidate(Map<VariableTypeInfo, TypeInfo> mapping) Constructors in org.htmlunit.corejs.javascript.lc.type.impl with parameters of type TypeInfoModifierConstructorDescriptionArrayTypeInfo(TypeInfo component) ParameterizedTypeInfoImpl(TypeInfo ownerType, TypeInfo rawType, List<TypeInfo> params) Constructor parameters in org.htmlunit.corejs.javascript.lc.type.impl with type arguments of type TypeInfoModifierConstructorDescriptionParameterizedTypeInfoImpl(TypeInfo ownerType, TypeInfo rawType, List<TypeInfo> params) -
Uses of TypeInfo in org.htmlunit.corejs.javascript.lc.type.impl.factory
Methods in org.htmlunit.corejs.javascript.lc.type.impl.factory that return TypeInfoModifier and TypeMethodDescriptiondefault TypeInfoFactoryBase.attachParam(TypeInfo base, List<TypeInfo> params) AbstractCacheFactory.create(TypeVariable<?> typeVariable) default TypeInfoFactoryBase.create(GenericArrayType genericArrayType) default TypeInfoFactoryBase.create(ParameterizedType parameterizedType) default TypeInfoFactoryBase.create(WildcardType wildcardType) default TypeInfoMethods in org.htmlunit.corejs.javascript.lc.type.impl.factory that return types with arguments of type TypeInfoModifier and TypeMethodDescriptiondefault Map<VariableTypeInfo,TypeInfo> FactoryBase.computeConsolidationMapping(Class<?> type) AbstractCacheFactory.getConsolidationMapping(Class<?> from) Methods in org.htmlunit.corejs.javascript.lc.type.impl.factory with parameters of type TypeInfoModifier and TypeMethodDescriptiondefault TypeInfoFactoryBase.attachParam(TypeInfo base, List<TypeInfo> params) default TypeInfoMethod parameters in org.htmlunit.corejs.javascript.lc.type.impl.factory with type arguments of type TypeInfoModifier and TypeMethodDescriptiondefault TypeInfoFactoryBase.attachParam(TypeInfo base, List<TypeInfo> params)