Index
All Classes and Interfaces|All Packages
A
- allPrimitiveTypes() - Static method in class io.activej.types.Primitives
- allWrapperTypes() - Static method in class io.activej.types.Primitives
- annotatedTypeOf(Type) - Static method in class io.activej.types.AnnotatedTypes
-
Constructs an
AnnotatedTypefrom a givenType. - annotatedTypeOf(Type, Annotation[]) - Static method in class io.activej.types.AnnotatedTypes
-
Constructs an
AnnotatedTypefrom a givenTypeand an array of annotations. - annotatedTypeOf(Type, BiFunction<Type, int[], Annotation[]>) - Static method in class io.activej.types.AnnotatedTypes
-
Constructs an
AnnotatedTypefrom a givenTypeand a function that transforms a type and a path to the type into annotations for this type. - AnnotatedTypes - Class in io.activej.types
-
Various utility methods to operate on annotated types
- AnnotatedTypes() - Constructor for class io.activej.types.AnnotatedTypes
- AnnotatedTypes.AnnotatedArrayTypeImpl - Class in io.activej.types
- AnnotatedTypes.AnnotatedParameterizedTypeImpl - Class in io.activej.types
- AnnotatedTypes.AnnotatedTypeImpl - Class in io.activej.types
- AnnotatedTypes.AnnotatedTypeVariableImpl - Class in io.activej.types
- AnnotatedTypes.AnnotatedWildcardTypeImpl - Class in io.activej.types
- AnnotatedTypeVariableImpl(Type, Annotation[], AnnotatedType[]) - Constructor for class io.activej.types.AnnotatedTypes.AnnotatedTypeVariableImpl
- annotations - Variable in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- AnnotationUtils - Class in io.activej.types
-
Various utility methods to operate on annotations
- AnnotationUtils() - Constructor for class io.activej.types.AnnotationUtils
- apply(TypeScannerRegistry.Context<R>) - Method in interface io.activej.types.scanner.TypeScannerRegistry.Mapping
B
- bind(AnnotatedType, Function<TypeVariable<?>, AnnotatedType>) - Static method in class io.activej.types.AnnotatedTypes
-
Binds a given annotated type with actual annotated type arguments
- bind(AnnotatedType, Function<TypeVariable<?>, AnnotatedType>, BinaryOperator<Annotation[]>) - Static method in class io.activej.types.AnnotatedTypes
-
Binds a given annotated type with actual annotated type arguments
- bind(Type, Function<TypeVariable<?>, Type>) - Static method in class io.activej.types.Types
-
Binds a given type with actual type arguments
- bind(Type, Map<TypeVariable<?>, Type>) - Static method in class io.activej.types.Types
-
Binds a given type with actual type arguments
C
- copyOf(TypeScannerRegistry<R>) - Static method in class io.activej.types.scanner.TypeScannerRegistry
- create() - Static method in class io.activej.types.scanner.TypeScannerRegistry
-
Creates a new
TypeScannerRegistry
E
- equals(Object) - Method in record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.activej.types.Types.GenericArrayTypeImpl
- equals(Object) - Method in class io.activej.types.Types.ParameterizedTypeImpl
- equals(Object) - Method in class io.activej.types.Types.WildcardTypeImpl
F
- fn() - Method in record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Returns the value of the
fnrecord component.
G
- genericArrayType(Type) - Static method in class io.activej.types.Types
-
Creates an instance of
GenericArrayTypewith a given component type - getActualTypeArguments() - Method in class io.activej.types.Types.ParameterizedTypeImpl
- getActualTypeArguments(Type) - Static method in class io.activej.types.Types
-
Returns an array of actual type arguments for a given
Type - getAllTypeBindings(Type) - Static method in class io.activej.types.Types
-
Returns a map of all type bindings for a given
Type. - getAnnotatedActualTypeArguments() - Method in class io.activej.types.AnnotatedTypes.AnnotatedParameterizedTypeImpl
- getAnnotatedBounds() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeVariableImpl
- getAnnotatedGenericComponentType() - Method in class io.activej.types.AnnotatedTypes.AnnotatedArrayTypeImpl
- getAnnotatedLowerBounds() - Method in class io.activej.types.AnnotatedTypes.AnnotatedWildcardTypeImpl
- getAnnotatedOwnerType() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- getAnnotatedType() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns an annotated type of
thiscontext - getAnnotatedType() - Method in class io.activej.types.TypeT
-
Returns an
AnnotatedTypeof aTypeT - getAnnotatedUpperBounds() - Method in class io.activej.types.AnnotatedTypes.AnnotatedWildcardTypeImpl
- getAnnotation(Annotation[], Class<A>) - Static method in class io.activej.types.Utils
- getAnnotation(Annotation[], Class<A>, Function<A, R>) - Static method in class io.activej.types.Utils
- getAnnotation(Annotation[], Function<Annotation, R>) - Static method in class io.activej.types.Utils
- getAnnotation(Class<A>) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns an annotation of a given annotation type from
thiscontext annotations ornullif none matches - getAnnotation(Class<A>, Annotation[]) - Static method in class io.activej.types.AnnotationUtils
-
Returns the first annotation of a given annotation type, or
nullif none matches - getAnnotation(Class<T>) - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- getAnnotations() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- getAnnotations() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns an array of annotations of
thiscontext annotated type - getArgumentStack() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns an argument stack of
thiscontext - getContextValue() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns a context value if it is present, or
nullotherwise - getDeclaredAnnotations() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- getGenericComponentType() - Method in class io.activej.types.Types.GenericArrayTypeImpl
- getLowerBounds() - Method in class io.activej.types.Types.WildcardTypeImpl
- getOwnerType() - Method in class io.activej.types.Types.ParameterizedTypeImpl
- getRawType() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns a raw type of
thiscontext - getRawType() - Method in class io.activej.types.Types.ParameterizedTypeImpl
- getRawType() - Method in class io.activej.types.TypeT
- getRawType(AnnotatedType) - Static method in class io.activej.types.AnnotatedTypes
-
Returns a raw
Classfor a givenAnnotatedType - getRawType(Type) - Static method in class io.activej.types.Types
- getSimpleName(Type) - Static method in class io.activej.types.Types
-
Returns a simple name for a given
Type - getStack() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns a context stack of
thiscontext - getType() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- getType() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns a type of
thiscontext - getType() - Method in class io.activej.types.TypeT
- getTypeArgument(int) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns nth annotated type argument of
thiscontext - getTypeArguments() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns an array of annotated type arguments for
thiscontext - getTypeArguments(AnnotatedType) - Static method in class io.activej.types.AnnotatedTypes
-
Returns an array of annotated type arguments for a given
AnnotatedType - getTypeArgumentsCount() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Returns a number of annotated type arguments for
thiscontext - getTypeBindings(AnnotatedType) - Static method in class io.activej.types.AnnotatedTypes
-
Returns a map of type bindings for a given
AnnotatedType - getTypeBindings(Type) - Static method in class io.activej.types.Types
-
Returns a map of type bindings for a given
Type - getUpperBounds() - Method in class io.activej.types.Types.WildcardTypeImpl
- getUppermostType(Type[]) - Static method in class io.activej.types.Types
-
Returns the most common type among given types
H
- hasAnnotation(Annotation[], Class<? extends Annotation>) - Static method in class io.activej.types.Utils
- hasAnnotation(Annotation[], Predicate<Class<Annotation>>) - Static method in class io.activej.types.Utils
- hasAnnotation(Class<? extends Annotation>) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Checks whether
thiscontext annotations contain an annotation of a given class - hasAnnotation(Class<? extends Annotation>, Annotation[]) - Static method in class io.activej.types.AnnotationUtils
-
Checks whether annotations contain an annotation of a given type
- hashCode() - Method in record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class io.activej.types.Types.GenericArrayTypeImpl
- hashCode() - Method in class io.activej.types.Types.ParameterizedTypeImpl
- hashCode() - Method in class io.activej.types.Types.WildcardTypeImpl
- hasTypeArguments() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Checks whether
thiscontext has any type arguments
I
- io.activej.types - package io.activej.types
- io.activej.types.scanner - package io.activej.types.scanner
- isAssignable(Type, Type) - Static method in class io.activej.types.IsAssignableUtils
-
Tests whether a
fromtype is assignable tototype - IsAssignableUtils - Class in io.activej.types
-
Various utility methods for type inference
- IsAssignableUtils() - Constructor for class io.activej.types.IsAssignableUtils
- isPrimitiveType(Type) - Static method in class io.activej.types.Primitives
- isWrapperType(Type) - Static method in class io.activej.types.Primitives
M
- MappingEntry(Type, TypeScannerRegistry.Mapping<R>) - Constructor for record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Creates an instance of a
MappingEntryrecord class.
N
- NO_ANNOTATED_TYPES - Static variable in class io.activej.types.AnnotatedTypes
-
An empty array of
AnnotatedTypes - NO_ANNOTATIONS - Static variable in class io.activej.types.AnnotatedTypes
-
An empty array of
Annotations - NO_TYPES - Static variable in class io.activej.types.Types
P
- parameterizedType(Type, Type, Type[]) - Static method in class io.activej.types.Types
-
Creates an instance of
ParameterizedType - parameterizedType(Class<?>, Type...) - Static method in class io.activej.types.Types
-
Creates an instance of
ParameterizedType - Primitives - Class in io.activej.types
- Primitives() - Constructor for class io.activej.types.Primitives
- push(AnnotatedType) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Pushes
thiscontext onto a context stack and returns a new context
S
- scan(TypeScannerRegistry.Context<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Scans a context and retrieves
TypeScannerRegistryvalue as a result - scan(TypeT<?>) - Method in interface io.activej.types.scanner.TypeScanner
-
Scans a type token and maps it to an
TypeScannerresult - scan(AnnotatedType) - Method in interface io.activej.types.scanner.TypeScanner
-
Scans an annotated type and maps it to an
TypeScannerresult - scan(AnnotatedType) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Scans a given annotated type and returns a resulting
TypeScannerRegistry.Contextobject - scan(Type) - Method in interface io.activej.types.scanner.TypeScanner
-
Scans a type and maps it to an
TypeScannerresult - scan(Type) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Scans a given type and returns a resulting
TypeScannerRegistry.Contextobject - scanner() - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Creates a new type scanner with no context value
- scanner(Object) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Creates a new type scanner with a context value
- scanTypeArgument(int) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Scans nth type argument and returns a resulting
TypeScannerRegistry.Contextobject
T
- toString() - Method in class io.activej.types.AnnotatedTypes.AnnotatedParameterizedTypeImpl
- toString() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- toString() - Method in class io.activej.types.AnnotatedTypes.AnnotatedWildcardTypeImpl
- toString() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
- toString() - Method in record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Returns a string representation of this record class.
- toString() - Method in class io.activej.types.Types.GenericArrayTypeImpl
- toString() - Method in class io.activej.types.Types.ParameterizedTypeImpl
- toString() - Method in class io.activej.types.Types.WildcardTypeImpl
- toString() - Method in class io.activej.types.TypeT
- type - Variable in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
- type() - Method in record class io.activej.types.scanner.TypeScannerRegistry.MappingEntry
-
Returns the value of the
typerecord component. - typeArguments - Variable in class io.activej.types.AnnotatedTypes.AnnotatedParameterizedTypeImpl
- Types - Class in io.activej.types
-
Various helper methods for type processing
- Types() - Constructor for class io.activej.types.Types
- Types.GenericArrayTypeImpl - Class in io.activej.types
- Types.ParameterizedTypeImpl - Class in io.activej.types
- Types.WildcardTypeImpl - Class in io.activej.types
- TypeScanner<R> - Interface in io.activej.types.scanner
-
An interface that defines how to map annotated types to
TypeScannerresults - TypeScannerRegistry<R> - Class in io.activej.types.scanner
-
A registry of
TypeScannerRegistry.Mappings by type - TypeScannerRegistry.Context<R> - Class in io.activej.types.scanner
-
A context that encapsulates a
TypeScannerRegistry.Mapping<R>and two stacks (a context stack and an argument stack). - TypeScannerRegistry.Mapping<R> - Interface in io.activej.types.scanner
-
An interface that describes how
TypeScannerRegistry.Mappingvalue should be retrieved from aTypeScannerRegistry.Context<R> - TypeScannerRegistry.MappingEntry<R> - Record Class in io.activej.types.scanner
- TypeT<T> - Class in io.activej.types
-
A type token for defining complex types (annotated, parameterized)
- TypeT() - Constructor for class io.activej.types.TypeT
-
Creates a new type token.
U
- unwrap(Class<T>) - Static method in class io.activej.types.Primitives
- Utils - Class in io.activej.types
- Utils() - Constructor for class io.activej.types.Utils
W
- WILDCARD_TYPE_ANY - Static variable in class io.activej.types.Types
- wildcardType(Type[], Type[]) - Static method in class io.activej.types.Types
-
Creates an instance of
WildcardTypebound by upper and lower bounds - wildcardTypeAny() - Static method in class io.activej.types.Types
-
Returns an instance of
WildcardTypethat matches any type - wildcardTypeExtends(Type) - Static method in class io.activej.types.Types
-
Creates an instance of
WildcardTypebound by a single upper bound - wildcardTypeSuper(Type) - Static method in class io.activej.types.Types
-
Creates an instance of
WildcardTypebound by a single lower bound - with(TypeT<?>, TypeScannerRegistry.Mapping<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Adds a mapping for a given type
- with(Type, TypeScannerRegistry.Mapping<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Adds a mapping for a given type
- withContextValue(Object) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Sets a context value to this context
- withMapping(TypeScannerRegistry.Mapping<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Sets a mapping that defines how
TypeScannerRegistry.Contextvalue should be retrieved from thisTypeScannerRegistry.Context<R> - withMapping(TypeScannerRegistry.Mapping<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Adds a mapping that defines how
TypeScannerRegistryvalue should be retrieved from aTypeScannerRegistry.Context<R> - withMapping(BiFunction<TypeScannerRegistry.Mapping<R>, TypeScannerRegistry.Context<R>, R>) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
-
Adds a mapping that defines how
TypeScannerRegistry.Contextvalue should be retrieved from aTypeScannerRegistry.Context<R>and a previous mapping - withMapping(BiFunction<TypeScannerRegistry.Mapping<R>, TypeScannerRegistry.Context<R>, R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
-
Adds a mapping that defines how
TypeScannerRegistryvalue should be retrieved from aTypeScannerRegistry.Context<R>and a mapping that doesTypeScannerRegistry.scan(Context) - wrap(Class<T>) - Static method in class io.activej.types.Primitives
All Classes and Interfaces|All Packages