public class BasicClassTypeInfo extends ClassTypeInfo
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 and Description |
|---|
BasicClassTypeInfo(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isCharacter() |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isInt() |
boolean |
isLong() |
boolean |
isObjectExact() |
boolean |
isShort() |
boolean |
isString() |
boolean |
isVoid() |
boolean |
shouldReplace()
not standard, made only because return type of
Array.newInstance(Class, int) is Object instead of something
representing an array |
append, asClass, equals, hashCode, isnewArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcollectComponentClass, consolidate, createDefaultValue, enumConstants, getComponentType, getTypeTag, isArray, isAssignableFrom, isEnum, isFunctionalInterface, isInstance, isInterface, isNot, isNumber, isPrimitive, parampublic BasicClassTypeInfo(Class<?> type)
public boolean isVoid()
Void class or void classpublic boolean isBoolean()
Boolean class or boolean classpublic boolean isByte()
Byte class or byte classpublic boolean isShort()
Short class or short classpublic boolean isInt()
Integer class or int classpublic boolean isLong()
Long class or long classpublic boolean isFloat()
Float class or float classpublic boolean isDouble()
Double class or double classpublic boolean isCharacter()
Character class or char classpublic boolean isString()
String classpublic boolean isObjectExact()
Object classpublic boolean shouldReplace()
Array.newInstance(Class, int) is Object instead of something
representing an arraytrue if this type contains too little information (e.g. being TypeInfo.NONE)
and should be replaced by actual object type, false otherwiseCopyright © 2025 HtmlUnit. All rights reserved.