Index

A B C E F G H I M N P S T U W 
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 AnnotatedType from a given Type.
annotatedTypeOf(Type, Annotation[]) - Static method in class io.activej.types.AnnotatedTypes
Constructs an AnnotatedType from a given Type and an array of annotations.
annotatedTypeOf(Type, BiFunction<Type, int[], Annotation[]>) - Static method in class io.activej.types.AnnotatedTypes
Constructs an AnnotatedType from a given Type and 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 fn record component.

G

genericArrayType(Type) - Static method in class io.activej.types.Types
Creates an instance of GenericArrayType with 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 this context
getAnnotatedType() - Method in class io.activej.types.TypeT
Returns an AnnotatedType of a TypeT
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 this context annotations or null if none matches
getAnnotation(Class<A>, Annotation[]) - Static method in class io.activej.types.AnnotationUtils
Returns the first annotation of a given annotation type, or null if 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 this context annotated type
getArgumentStack() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Returns an argument stack of this context
getContextValue() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Returns a context value if it is present, or null otherwise
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 this context
getRawType() - Method in class io.activej.types.Types.ParameterizedTypeImpl
 
getRawType() - Method in class io.activej.types.TypeT
Returns a raw type (e.g Class) of a TypeT
getRawType(AnnotatedType) - Static method in class io.activej.types.AnnotatedTypes
Returns a raw Class for a given AnnotatedType
getRawType(Type) - Static method in class io.activej.types.Types
Returns a raw Class for a given Type.
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 this context
getType() - Method in class io.activej.types.AnnotatedTypes.AnnotatedTypeImpl
 
getType() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Returns a type of this context
getType() - Method in class io.activej.types.TypeT
Returns a Type of a TypeT
getTypeArgument(int) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Returns nth annotated type argument of this context
getTypeArguments() - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Returns an array of annotated type arguments for this context
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 this context
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 this context 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 this context 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 from type is assignable to to type
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 MappingEntry record 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 this context 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 TypeScannerRegistry value as a result
scan(TypeT<?>) - Method in interface io.activej.types.scanner.TypeScanner
Scans a type token and maps it to an TypeScanner result
scan(AnnotatedType) - Method in interface io.activej.types.scanner.TypeScanner
Scans an annotated type and maps it to an TypeScanner result
scan(AnnotatedType) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Scans a given annotated type and returns a resulting TypeScannerRegistry.Context object
scan(Type) - Method in interface io.activej.types.scanner.TypeScanner
Scans a type and maps it to an TypeScanner result
scan(Type) - Method in class io.activej.types.scanner.TypeScannerRegistry.Context
Scans a given type and returns a resulting TypeScannerRegistry.Context object
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.Context object

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 type record 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 TypeScanner results
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.Mapping value should be retrieved from a TypeScannerRegistry.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 WildcardType bound by upper and lower bounds
wildcardTypeAny() - Static method in class io.activej.types.Types
Returns an instance of WildcardType that matches any type
wildcardTypeExtends(Type) - Static method in class io.activej.types.Types
Creates an instance of WildcardType bound by a single upper bound
wildcardTypeSuper(Type) - Static method in class io.activej.types.Types
Creates an instance of WildcardType bound 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.Context value should be retrieved from this TypeScannerRegistry.Context<R>
withMapping(TypeScannerRegistry.Mapping<R>) - Method in class io.activej.types.scanner.TypeScannerRegistry
Adds a mapping that defines how TypeScannerRegistry value should be retrieved from a TypeScannerRegistry.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.Context value should be retrieved from a TypeScannerRegistry.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 TypeScannerRegistry value should be retrieved from a TypeScannerRegistry.Context<R> and a mapping that does TypeScannerRegistry.scan(Context)
wrap(Class<T>) - Static method in class io.activej.types.Primitives
 
A B C E F G H I M N P S T U W 
All Classes and Interfaces|All Packages