Skip navigation links
A B C E F G H I L M N O P R S T U V W 

A

ArrayClassProperties - Class in ch.jalu.typeresolver.array
Describes a class' array type properties by specifying the array dimension of this class and its component type.
ArrayClassProperties(Class<?>) - Constructor for class ch.jalu.typeresolver.array.ArrayClassProperties
Constructor.
ArrayClassProperties(Class<?>, int) - Constructor for class ch.jalu.typeresolver.array.ArrayClassProperties
Constructor for manual creation.
ArrayTypeProperties - Interface in ch.jalu.typeresolver.array
Describes an array type.
ArrayTypeUtils - Class in ch.jalu.typeresolver.array
Utilities for array types.
ArrayUtils - Class in ch.jalu.typeresolver.array
This class contains methods that can handle arrays of any type (boolean[], byte[], Object[], etc.).
asEnumClassIfPossible(Class<?>) - Static method in class ch.jalu.typeresolver.EnumUtils
Returns an optional with the class cast as enum extension, empty otherwise.
asSubclassIfPossible(Class<?>, Class<T>) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns an Optional with the same class cast as subtype of the given parent if possible, otherwise returns an empty optional.
ATOMIC_INTEGER - Static variable in class ch.jalu.typeresolver.numbers.MoreNumberTypes
AtomicInteger (same value range as StandardNumberType.INTEGER).
ATOMIC_LONG - Static variable in class ch.jalu.typeresolver.numbers.MoreNumberTypes
AtomicLong (same value range as StandardNumberType.LONG).

B

binarySearch(Object, Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for binary search and returns the result.
binarySearch(Object, int, int, Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for binary search and returns the result.
build() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates a parameterized type with the configured raw type and type arguments.

C

ch.jalu.typeresolver - package ch.jalu.typeresolver
 
ch.jalu.typeresolver.array - package ch.jalu.typeresolver.array
 
ch.jalu.typeresolver.classutil - package ch.jalu.typeresolver.classutil
 
ch.jalu.typeresolver.numbers - package ch.jalu.typeresolver.numbers
 
ch.jalu.typeresolver.primitives - package ch.jalu.typeresolver.primitives
 
ch.jalu.typeresolver.reference - package ch.jalu.typeresolver.reference
 
ch.jalu.typeresolver.typeimpl - package ch.jalu.typeresolver.typeimpl
 
CHARACTER - Static variable in class ch.jalu.typeresolver.numbers.MoreNumberTypes
Character: [0, 65535].
classExists(String) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns whether the class exists and can be loaded by the current class loader.
ClassType - Enum in ch.jalu.typeresolver.classutil
Enum to categorize Class objects.
ClassTypeCallback<R> - Class in ch.jalu.typeresolver.classutil
Extendable class with a method dedicated for each ClassType, with appropriately cast method parameters.
ClassTypeCallback() - Constructor for class ch.jalu.typeresolver.classutil.ClassTypeCallback
 
ClassUtils - Class in ch.jalu.typeresolver.classutil
Various utilities to load and inspect Class objects.
CommonTypeUtils - Class in ch.jalu.typeresolver
Contains simple utility methods for Type objects.
compareToValueRange(Number) - Method in interface ch.jalu.typeresolver.numbers.NumberType
Compares the given value to this type's value range, indicating whether it can be represented by this type without loss of magnitude, or why it cannot.
compareToValueRange(Number) - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
convertIfNoLossOfMagnitude(Number) - Method in interface ch.jalu.typeresolver.numbers.NumberType
Converts the number to this type only if no loss of magnitude and meaning occurs, otherwise returns an empty optional.
convertIfNoLossOfMagnitude(Number) - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Converts the number to this type only if no loss of magnitude and meaning occurs, otherwise returns an empty optional.
convertToBounds(Number) - Method in interface ch.jalu.typeresolver.numbers.NumberType
Returns a value of this type that is the closest to the given number.
convertToBounds(Number) - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns a value of this type that is the closest to the given number.
convertUnsafe(Number) - Method in interface ch.jalu.typeresolver.numbers.NumberType
Converts the given number to this type without considering underflow or overflow.
convertUnsafe(Number) - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Converts the given number to this type without considering underflow or overflow.
copyOf(Object, int) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for creating a copy and returns the result.
copyOfRange(Object, int, int) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for creating a copy of a range and returns the result.
create(Type, int) - Static method in class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
Wraps the given component type into an array type of the given dimension.
createArrayClass(Class<?>) - Static method in class ch.jalu.typeresolver.array.ArrayTypeUtils
Returns an array class of the given component type, e.g.
createArrayClass(Class<?>, int) - Static method in class ch.jalu.typeresolver.array.ArrayTypeUtils
Returns an array class of the given component type and with the given dimensions, e.g.
createArrayType(Type) - Static method in class ch.jalu.typeresolver.array.ArrayTypeUtils
Returns an array class or a GenericArrayType instance whose component type is the componentType argument.
createArrayType(Type, int) - Static method in class ch.jalu.typeresolver.array.ArrayTypeUtils
Returns an array class or a generic array type whose component is the provided component type and with the given dimension.
createOwnerType(Class<?>) - Static method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates the appropriate Type with generic information (if needed) to be used as owner type of a parameterized type impl with the given raw type.

E

EnumUtils - Class in ch.jalu.typeresolver
Utilities for enum classes.
equals(Object) - Method in class ch.jalu.typeresolver.array.ArrayClassProperties
 
equals(Object, Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for checking whether two arrays have the same entries, and returns the result.
equals(Object) - Method in class ch.jalu.typeresolver.array.GenericArrayTypeProperties
 
equals(Object) - Method in class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
 
equals(Object) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
equals(Object) - Method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
 
equals(Object) - Method in class ch.jalu.typeresolver.TypeInfo
 
equalTo(Class<?>) - Method in class ch.jalu.typeresolver.TypeInfo
Returns whether this type info, as class (TypeInfo.toClass()), is equal to the given class.

F

fill(Object, Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for filling an array with the given value.
fill(Object, int, int, Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for filling an array with the given value.
findRangeOrThrow(Number) - Static method in enum ch.jalu.typeresolver.numbers.StandardValueRange
Returns the value range for the type of the given number.
forAnnotation(Class<? extends Annotation>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process represents an annotation, such as Override.
forArrayType(Class<?>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process is an array class, such as int[].class or String[][].class.
forEnum(Class<? extends Enum<?>>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process represents an enum, such as TimeUnit.
forEnumEntry(Class<? extends Enum<?>>, Class<? extends Enum<?>>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process is a synthetic class of an enum entry, which is created when an enum extends the enum class anonymously (see ClassType.ENUM_ENTRY).
forInterface(Class<?>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process is an interface, such as Map.
forPrimitiveType(Class<?>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process represents a primitive type, such as int.class, or void.class.
forProxyClass(Class<?>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process is a dynamic proxy, cf.
forRegularClass(Class<?>) - Method in class ch.jalu.typeresolver.classutil.ClassTypeCallback
Called when the class to process is a "regular class", as explained in ClassUtils.isRegularJavaClass(java.lang.Class<?>).
from(Class<T>) - Static method in class ch.jalu.typeresolver.numbers.NumberTypes
Returns, if applicable, the NumberType instance from StandardNumberType and MoreNumberTypes that corresponds to the provided class, null otherwise.
from(Class<?>) - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns the PrimitiveType entry that corresponds to the given class, or null if not available.
fromClass(Class<?>) - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns the NumberType instance of this enum that corresponds to the given class, null otherwise.
fromNumberClass(Class<T>) - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns the instance that corresponds to this class, or null if not applicable.

G

GenericArrayTypeImpl - Class in ch.jalu.typeresolver.typeimpl
Implementation of GenericArrayType.
GenericArrayTypeImpl(Type) - Constructor for class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
 
GenericArrayTypeProperties - Class in ch.jalu.typeresolver.array
Describes a generic array type: specifies the array dimension and the component type.
GenericArrayTypeProperties(GenericArrayType) - Constructor for class ch.jalu.typeresolver.array.GenericArrayTypeProperties
Constructor: creates an instance based on the properties of the given array type.
GenericArrayTypeProperties(Type, int) - Constructor for class ch.jalu.typeresolver.array.GenericArrayTypeProperties
Constructor for manual creation.
getActualTypeArguments() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
getAllTypeInfos() - Method in class ch.jalu.typeresolver.TypeInfo
Returns all types that this wrapped type is an instance of, as TypeInfo instances.
getAllTypes() - Method in class ch.jalu.typeresolver.TypeInfo
Returns all types that this wrapped type is an instance of, i.e.
getArrayProperty(Type) - Static method in class ch.jalu.typeresolver.array.ArrayTypeUtils
Returns a description of the given array type, or an array property with dimension 0 if it is not an array.
getAssociatedEnumType(Class<?>) - Static method in class ch.jalu.typeresolver.EnumUtils
Returns an optional with the class if it is an enum, or with the actual enum class if the given class is a synthetic class of an enum entry.
getClassName(Object) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns the class name of the object null-safely, returning "null" if the object is null.
getComponentType() - Method in class ch.jalu.typeresolver.array.ArrayClassProperties
 
getComponentType() - Method in interface ch.jalu.typeresolver.array.ArrayTypeProperties
Returns the component of the array.
getComponentType() - Method in class ch.jalu.typeresolver.array.GenericArrayTypeProperties
 
getComponentType() - Method in class ch.jalu.typeresolver.TypeInfo
Returns the array component type of this type, if applicable.
getDefaultValue() - Method in enum ch.jalu.typeresolver.primitives.PrimitiveType
 
getDefinitiveClass(Type) - Static method in class ch.jalu.typeresolver.CommonTypeUtils
Returns the Class equivalent of the type for which there is an absolute class equivalent, i.e.
getDimension() - Method in class ch.jalu.typeresolver.array.ArrayClassProperties
 
getDimension() - Method in interface ch.jalu.typeresolver.array.ArrayTypeProperties
Returns the dimension of the array type.
getDimension() - Method in class ch.jalu.typeresolver.array.GenericArrayTypeProperties
 
getEnclosingType() - Method in class ch.jalu.typeresolver.TypeInfo
Returns a type info of the enclosing type (i.e.
getErrorForNonFiniteValue(Number) - Static method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
Returns the appropriate "Unsupported" comparison entry if the given number represents a non-finite value from Float or Double.
getErrorForNonFiniteValue(double) - Static method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
Returns the appropriate "Unsupported" comparison entry if the given double represents a non-finite value from Float or Double.
getGenericComponentType() - Method in class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
 
getLowerBounds() - Method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
 
getMaxInOwnType() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
getMaxInOwnType() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
 
getMaxInOwnType() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 
getMaxValue() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
getMaxValue() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
 
getMaxValue() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 
getMinInOwnType() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
getMinInOwnType() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
 
getMinInOwnType() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 
getMinValue() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
getMinValue() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
 
getMinValue() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 
getOwnerType() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
getPrimitiveType() - Method in enum ch.jalu.typeresolver.primitives.PrimitiveType
 
getRawType(ParameterizedType) - Static method in class ch.jalu.typeresolver.CommonTypeUtils
Convenience method which returns the raw type of the given parameterized type cast as Class.
getRawType() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
getReferenceType() - Method in enum ch.jalu.typeresolver.primitives.PrimitiveType
 
getSafeToReadClass() - Method in class ch.jalu.typeresolver.TypeInfo
Returns a Class object of the wrapped type which is safe for reading.
getSemanticName(Object) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns a human-friendly string representation of the given object, based on the semantic type of the given object.
getSemanticName(Class<?>) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns a human-friendly string representation of the given class, or of the most meaningful associated type.
getSemanticType(Object) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns the "semantic type" of the given object.
getType(Class<?>) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns the type of the given class (see ClassType).
getType() - Method in interface ch.jalu.typeresolver.numbers.NumberType
 
getType() - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
getType() - Method in class ch.jalu.typeresolver.TypeInfo
 
getTypeArgumentAsClass(int) - Method in class ch.jalu.typeresolver.TypeInfo
Returns the type argument for the given index as Class object, provided that the type is a parameterized type and that the index is valid.
getTypeArgumentInfo(int) - Method in class ch.jalu.typeresolver.TypeInfo
Returns the type argument at the given index for the wrapped type, provided that the type is a parameterized type and that the index is valid.
getUpperBounds() - Method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
 
getValueRange() - Method in interface ch.jalu.typeresolver.numbers.NumberType
Returns information about the value range this type can represent.
getValueRange() - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns information about the value range this type can represent.

H

hasExplicitUpperBound(WildcardType) - Static method in class ch.jalu.typeresolver.CommonTypeUtils
Returns whether the given wildcard type has an explicitly defined upper bound.
hashCode() - Method in class ch.jalu.typeresolver.array.ArrayClassProperties
 
hashCode(Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method for calculating the hash code, and returns the result.
hashCode() - Method in class ch.jalu.typeresolver.array.GenericArrayTypeProperties
 
hashCode() - Method in class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
 
hashCode() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
hashCode() - Method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
 
hashCode() - Method in class ch.jalu.typeresolver.TypeInfo
 
hasInfinityAndNaN() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
hasInfinityAndNaN() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
Returns whether the type has values for NaN and infinity, such as Double with Double.POSITIVE_INFINITY.
hasInfinityAndNaN() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 

I

inferTypeForNoArgsConstructor() - Method in class ch.jalu.typeresolver.reference.NestedTypeReference
 
inferTypeForNoArgsConstructor() - Method in class ch.jalu.typeresolver.reference.TypeReference
 
inferTypeForNoArgsConstructor() - Method in class ch.jalu.typeresolver.TypeInfo
Called in the no-args constructor, allowing to infer the type through some other way.
isAssignableFrom(Class<?>) - Method in class ch.jalu.typeresolver.TypeInfo
Returns whether the class represented by this type info is equal or assignable from the given class.
isEnumOrEnumEntryType(Class<?>) - Static method in class ch.jalu.typeresolver.EnumUtils
Indicates whether the given class is an enum or a synthetic class of an enum entry.
isEqualOrSupersetOf(ValueRange<?>) - Method in interface ch.jalu.typeresolver.numbers.ValueRange
Returns whether this value range is equal or larger than the given value range.
isRealPrimitive(Class<?>) - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns whether the class is a primitive type.
isRegularJavaClass(Class<?>) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Returns whether the given class is a "regular" Java class.
isTooLarge() - Method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
 
isTooSmall() - Method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
 
isUnsupportedInfinity() - Method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
 
isUnsupportedNonFiniteValue() - Method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
 

L

loadClassOrThrow(String) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Loads a class or throws an IllegalArgumentException.

M

matches(Class<?>) - Method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns whether the given class matches this primitive-reference class pair.
MoreNumberTypes - Class in ch.jalu.typeresolver.numbers
Contains NumberType implementations for additional Java number types that aren't represented in StandardNumberType.

N

NestedTypeReference<L extends List> - Class in ch.jalu.typeresolver.reference
A type reference class that retrieves the type argument of this class's List type argument, allowing the creation of wildcard types, which cannot be created directly with TypeReference.
NestedTypeReference() - Constructor for class ch.jalu.typeresolver.reference.NestedTypeReference
Constructor.
newCollectionType(Class<? extends Collection>, Type) - Static method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates a new parameterized type representing the given Collection type and the provided type argument.
newMapType(Class<? extends Map>, Type, Type) - Static method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates a new parameterized type representing the given Map type and the provided key and value arguments.
newUnboundedWildcard() - Static method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
Creates a new unbounded wildcard "?", as returned by the JRE (upper bound is set to Object.class).
newWildcardExtends(Type) - Static method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
Creates a new wildcard type "? extends T", where T is the given upperBound.
newWildcardSuper(Type) - Static method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
Creates a new wildcard type "? super T", where T is the given lowerBound.
NumberType<N> - Interface in ch.jalu.typeresolver.numbers
Utility for a type that represents numerical values, e.g.
NumberTypes - Class in ch.jalu.typeresolver.numbers
Contains NumberType utilities.

O

of(Type) - Static method in class ch.jalu.typeresolver.TypeInfo
Creates a new instance wrapping the given type.
of(Field) - Static method in class ch.jalu.typeresolver.TypeInfo
Creates a new instance wrapping the generic type of the given field.

P

parallelSort(Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method to parallel-sort the given array.
parallelSort(Object, int, int) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method to parallel-sort the given array.
ParameterizedTypeBuilder - Class in ch.jalu.typeresolver.typeimpl
Builder to create parameterized types programmatically.
ParameterizedTypeBuilder(ParameterizedType) - Constructor for class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates a builder with the given parameterized type as initial values.
parameterizedTypeBuilder(Class<?>) - Static method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Creates a builder with the given Class as its base type.
ParameterizedTypeImpl - Class in ch.jalu.typeresolver.typeimpl
Implementation of ParameterizedType, with same Object.equals(java.lang.Object) and Object.hashCode() as the JRE implementation.
ParameterizedTypeImpl(Class<?>, Type, Type...) - Constructor for class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
Constructor.
ParameterizedTypeImpl(ParameterizedType) - Constructor for class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
Copy constructor.
PrimitiveType - Enum in ch.jalu.typeresolver.primitives
Defines primitive-reference class pairs and holds other utilities relating to primitive types.
processClassByType(Class<?>, ClassTypeCallback<? extends R>) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Calls the method on the given ClassTypeCallback that corresponds to the given class's type and returns the result.

R

resolve(Type) - Method in class ch.jalu.typeresolver.TypeInfo
Resolves the given type if possible, based on information from the wrapped Type of this instance.
resolveSuperclass(Class<?>) - Method in class ch.jalu.typeresolver.TypeInfo
Returns the given class' including its type arguments if it is a superclass of this wrapped type.

S

simpleBooleanArrayBinarySearch(boolean[], int, int, boolean) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Fill-in implementation for a boolean array binary search: allows to search for a value in a boolean array that has been sorted.
simpleBooleanArraySort(boolean[], int, int) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Naive implementation of an array sort for boolean arrays.
sort(Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method to sort the given array.
sort(Object, int, int) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method to sort the given array.
StandardNumberType - Enum in ch.jalu.typeresolver.numbers
NumberType implementations for standard Java number types: byte, short, integer, long, float, double, BigInteger and BigDecimal.
StandardValueRange - Enum in ch.jalu.typeresolver.numbers
Provides value ranges of the standard Java number types: byte, short, integer, long, float, double, BigInteger and BigDecimal.
stream(Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Returns a stream of the objects in the given array.
streamThroughAll() - Static method in class ch.jalu.typeresolver.numbers.NumberTypes
Provides a stream of all NumberType implementations provided by this library.
streamThroughAll() - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Creates a stream of all number types in this enum, typed as NumberType.
streamThroughPrimitiveTypes() - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Creates a stream of the number type instances that represent one of the six Java number types that are associated with a primitive type: byte, short, int, long, float, and double.
supportsAllValuesOf(NumberType<?>) - Method in interface ch.jalu.typeresolver.numbers.NumberType
supportsAllValuesOf(StandardValueRange) - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
Returns whether this range supports all values of the given range.
supportsAllValuesOf(ValueRange<?>) - Method in interface ch.jalu.typeresolver.numbers.ValueRange
Specifies whether this range can represent all values of the given value range without loss of magnitude.
supportsDecimals() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
supportsDecimals() - Method in interface ch.jalu.typeresolver.numbers.ValueRange
 
supportsDecimals() - Method in class ch.jalu.typeresolver.numbers.ValueRangeImpl
 

T

toClass() - Method in class ch.jalu.typeresolver.TypeInfo
Returns a Class object of the wrapped type which is safe for writing to.
toEnumSet(Class<E>) - Static method in class ch.jalu.typeresolver.EnumUtils
Returns a collector that collects the results of a stream into an EnumSet.
toPrimitiveType(Class<?>) - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns the given class's primitive class equivalent, if applicable.
toReferenceType(Class<?>) - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns the given class's reference class equivalent, if applicable.
toString() - Method in class ch.jalu.typeresolver.array.ArrayClassProperties
 
toString(Object) - Static method in class ch.jalu.typeresolver.array.ArrayUtils
Delegates to the appropriate method to generate a String representation of the given array.
toString() - Method in class ch.jalu.typeresolver.array.GenericArrayTypeProperties
 
toString() - Method in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
toString() - Method in enum ch.jalu.typeresolver.numbers.StandardValueRange
 
toString() - Method in class ch.jalu.typeresolver.typeimpl.GenericArrayTypeImpl
 
toString() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeImpl
 
toString() - Method in class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
 
toString() - Method in class ch.jalu.typeresolver.TypeInfo
 
tryLoadClass(String) - Static method in class ch.jalu.typeresolver.classutil.ClassUtils
Wraps Class.forName(String) and swallows the ClassNotFoundException it potentially throws: allows to load a class by name if possible, otherwise returns an empty optional.
tryValueOf(Class<T>, String) - Static method in class ch.jalu.typeresolver.EnumUtils
Returns an optional of the enum entry with the given name if the provided class is an enum and has an entry that matches exactly the given name.
tryValueOfCaseInsensitive(Class<T>, String) - Static method in class ch.jalu.typeresolver.EnumUtils
Returns an optional of the enum entry with the given name if the provided class is an enum and has an entry that matches the given name in a case-insensitive manner.
TYPE_BIG_DECIMAL - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_BIG_INTEGER - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_BYTE - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_DOUBLE - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_FLOAT - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_INTEGER - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_LONG - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TYPE_SHORT - Static variable in enum ch.jalu.typeresolver.numbers.StandardNumberType
 
TypeInfo - Class in ch.jalu.typeresolver
Wraps a Type to offer easy retrieval of various type information.
TypeInfo(Type) - Constructor for class ch.jalu.typeresolver.TypeInfo
Constructor.
TypeInfo() - Constructor for class ch.jalu.typeresolver.TypeInfo
No-args constructor for overriding classes which define the type to wrap by overriding TypeInfo.inferTypeForNoArgsConstructor().
TypeReference<T> - Class in ch.jalu.typeresolver.reference
A typed TypeInfo implementation which can be instantiated with a concrete type resolved at runtime for easy creation of more complex Type implementations.
TypeReference() - Constructor for class ch.jalu.typeresolver.reference.TypeReference
Constructor.

U

unwrapToStandardNumberType(Object) - Static method in class ch.jalu.typeresolver.numbers.NumberTypes
Unwraps the object to a basic number type and returns the value if the given object is a Number or Character.
unwrapToStandardNumberType(Number) - Static method in class ch.jalu.typeresolver.numbers.NumberTypes
Unwraps the number to a basic number type, if applicable.

V

valueOf(String) - Static method in enum ch.jalu.typeresolver.classutil.ClassType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.jalu.typeresolver.numbers.StandardValueRange
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns the enum constant of this type with the specified name.
ValueRange<T> - Interface in ch.jalu.typeresolver.numbers
Value range of a number type.
ValueRangeComparison - Enum in ch.jalu.typeresolver.numbers
Result of the comparison of a number with a type's value range.
ValueRangeImpl<T> - Class in ch.jalu.typeresolver.numbers
Simple implementation of ValueRange.
ValueRangeImpl(T, T, BigDecimal, BigDecimal, boolean, boolean) - Constructor for class ch.jalu.typeresolver.numbers.ValueRangeImpl
Constructor.
values() - Static method in enum ch.jalu.typeresolver.classutil.ClassType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.jalu.typeresolver.numbers.StandardNumberType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.jalu.typeresolver.numbers.StandardValueRange
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.jalu.typeresolver.numbers.ValueRangeComparison
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.jalu.typeresolver.primitives.PrimitiveType
Returns an array containing the constants of this enum type, in the order they are declared.
visitAllTypes(Consumer<Type>) - Method in class ch.jalu.typeresolver.TypeInfo
Invokes the given consumer for each type that this wrapped type can be assigned to (i.e.

W

wildcardType() - Method in class ch.jalu.typeresolver.reference.NestedTypeReference
Convenience method to retrieve the inner class cast to a WildcardType.
WildcardTypeImpl - Class in ch.jalu.typeresolver.typeimpl
Implementation of WildcardType.
WildcardTypeImpl(Type[], Type[]) - Constructor for class ch.jalu.typeresolver.typeimpl.WildcardTypeImpl
Constructor.
withTypeArg(int, TypeInfo) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the type argument to the given index.
withTypeArg(int, Type) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the type parameter at the given index to the provided type.
withTypeArg(String, TypeInfo) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the type argument for the parameter with the given name.
withTypeArg(String, Type) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the type parameter with the given name to the provided type.
withTypeArg(TypeVariable<?>, TypeInfo) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the given type variable to the provided type.
withTypeArg(TypeVariable<?>, Type) - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Sets the type parameter identified by the given type variable to the provided type.
withTypeVariables() - Method in class ch.jalu.typeresolver.typeimpl.ParameterizedTypeBuilder
Resets all type parameters to the type variables of the raw type.
A B C E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2023. All rights reserved.