Index
All Classes and Interfaces|All Packages|External Specifications
A
- AbstractTypeMatcher - Class in org.microbean.assign
-
A partial implementation of a
Matcherthat tests if oneTypeMirrormatches another. - AbstractTypeMatcher(Domain) - Constructor for class org.microbean.assign.AbstractTypeMatcher
-
Creates a new
AbstractTypeMatcher. - add(int, TypeMirror) - Method in class org.microbean.assign.SupertypeList
- add(TypeMirror) - Method in class org.microbean.assign.SupertypeList
- addAll(int, Collection) - Method in class org.microbean.assign.SupertypeList
- addAll(Collection) - Method in class org.microbean.assign.SupertypeList
- addFirst(TypeMirror) - Method in class org.microbean.assign.SupertypeList
- addLast(TypeMirror) - Method in class org.microbean.assign.SupertypeList
- Aggregate - Interface in org.microbean.assign
-
An object with dependencies.
- allAre(Iterable, Predicate) - Static method in class org.microbean.assign.AbstractTypeMatcher
- annotated() - Method in interface org.microbean.assign.Annotated
-
Returns the non-
null, determinate, annotated object. - Annotated<T> - Interface in org.microbean.assign
-
An interface whose implementations bear semantically significant annotations.
- annotations() - Method in interface org.microbean.assign.Annotated
- assign(Function) - Method in interface org.microbean.assign.Aggregate
-
A convenience method that assigns a contextual reference to each of this
Aggregate'sAnnotated<? extends Element>-typed dependencies and returns the resultingSequencedSetofAssignments. - assignee() - Method in record class org.microbean.assign.Assignment
-
Returns the value of the
assigneerecord component. - Assignment<R> - Record Class in org.microbean.assign
-
An assignment of a value to an
Annotated<? extends Element>. - Assignment(Annotated, R) - Constructor for record class org.microbean.assign.Assignment
-
Creates a new
Assignment.
C
- caching(Selectable) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectablethat caches its results. - caching(Selectable, BiFunction) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectablethat caches its results. - ClassesThenInterfacesElementKindComparator - Class in org.microbean.assign
- clear() - Method in class org.microbean.assign.SupertypeList
- compare(ElementKind, ElementKind) - Method in class org.microbean.assign.ClassesThenInterfacesElementKindComparator
-
Compares the two
ElementKinds and returns the result. - compare(TypeKind, TypeKind) - Method in class org.microbean.assign.PrimitiveAndReferenceTypeKindComparator
-
Compares the two
TypeKinds and returns the result. - compare(TypeMirror, TypeMirror) - Method in class org.microbean.assign.SpecializationComparator
-
Compares two
TypeMirrors and returns the result. - contains(Object) - Method in class org.microbean.assign.SupertypeList
- contains(Collection, AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
-
Returns
trueif and only if the suppliedCollectionofAnnotationMirrors contains anAnnotationMirrorthat is the same as the suppliedAnnotationMirror. - containsAll(Collection) - Method in class org.microbean.assign.SupertypeList
- containsAll(Collection, Collection) - Method in class org.microbean.assign.Qualifiers
- convert(Selectable) - Static method in class org.microbean.assign.Selectables
-
Deprecated, for removal: This API element is subject to removal in a future version.
- convert(Selectable, Predicate) - Static method in class org.microbean.assign.Selectables
-
Deprecated, for removal: This API element is subject to removal in a future version.
- covariantlyAssignable(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns
trueif and only ifpayloadis covariantly assignable toreceiver.
D
- dependencies() - Method in interface org.microbean.assign.Aggregate
-
Returns an immutable, determinate,
SequencedSetofAnnotated<? extends Element>instances. - describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
- describeConstable() - Method in class org.microbean.assign.Qualifiers
-
Returns a non-
null, determinateOptionalhousing aConstantDescdescribing thisQualifiers, or an emptyOptionalif it cannot be described. - describeConstable() - Method in class org.microbean.assign.Types
- domain() - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns the
Domainused by thisAbstractTypeMatcherimplementation. - domain() - Method in class org.microbean.assign.Types
E
- empty() - Static method in class org.microbean.assign.Selectables
-
Returns a
SelectablewhoseSelectable.select(Object)method always returns an empty, immutableList. - EMPTY_ASSIGNMENTS - Static variable in interface org.microbean.assign.Aggregate
-
An immutable, empty
SequencedSetofAssignments. - EMPTY_DEPENDENCIES - Static variable in interface org.microbean.assign.Aggregate
-
An immutable, empty
SequencedSetofElements. - equals(Object) - Method in record class org.microbean.assign.Assignment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.microbean.assign.SupertypeList
- equals(Object) - Method in class org.microbean.assign.Types
- erasedName(TypeMirror) - Static method in class org.microbean.assign.Types
-
Returns the non-
null, determinate erased name of the suppliedTypeMirror.
F
- filtering(Collection, BiPredicate) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectableusing the suppliedCollectionas its elements, and the suppliedBiPredicateas its selector. - forEach(Consumer) - Method in class org.microbean.assign.SupertypeList
G
- get(int) - Method in class org.microbean.assign.SupertypeList
H
- hashCode() - Method in record class org.microbean.assign.Assignment
-
Returns a hash code value for this object.
- hashCode() - Method in class org.microbean.assign.SupertypeList
- hashCode() - Method in class org.microbean.assign.Types
-
Returns a hashcode for this
Typesbased solely on itsDomain.
I
- identical(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
A utility method that returns
trueif and only if thisAbstractTypeMatcherimplementation considers the two suppliedTypeMirrors to be identical. - indexOf(Object) - Method in class org.microbean.assign.SupertypeList
- INSTANCE - Static variable in class org.microbean.assign.ClassesThenInterfacesElementKindComparator
-
The sole instance of this class.
- INSTANCE - Static variable in class org.microbean.assign.PrimitiveAndReferenceTypeKindComparator
-
The sole instance of this class.
- interfaceIndex() - Method in class org.microbean.assign.SupertypeList
-
Returns the index of the first interface type this
SupertypeListcontains, or a negative value if it contains no interface types. - isEmpty() - Method in class org.microbean.assign.SupertypeList
- iterator() - Method in class org.microbean.assign.SupertypeList
J
- Java Language Specification, section 4.10 - External specification in org.microbean.assign.Types.supertypes(TypeMirror)
- Java Language Specification, section 4.10 - External specification in org.microbean.assign.Types.supertypes(TypeMirror, Predicate)
- Java Language Specification, section 4.10.2 - External specification in org.microbean.assign.Types.supertypes(TypeMirror)
- Java Language Specification, section 4.10.2 - External specification in org.microbean.assign.Types.supertypes(TypeMirror, Predicate)
L
- lastIndexOf(Object) - Method in class org.microbean.assign.SupertypeList
- listIterator() - Method in class org.microbean.assign.SupertypeList
- listIterator(int) - Method in class org.microbean.assign.SupertypeList
M
- Matcher<C,
T> - Interface in org.microbean.assign -
A
BiPredicatewith particular semantics associated with itstest(Object, Object)method. - metaQualifier() - Method in class org.microbean.assign.Qualifiers
-
Returns a non-
null, determinateAnnotationMirrorthat can be used to designate (meta-annotate) other annotations as qualifiers. - metaQualifier(AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
-
Returns
trueif and only if the suppliedAnnotationMirroris the same annotation as the suppliedAnnotationMirror. - metaQualifiers() - Method in class org.microbean.assign.Qualifiers
-
Returns a non-
null, determinate, immutableListwhose sole element is the meta-qualifier annotation.
N
- named(DeclaredType, CharSequence) - Static method in class org.microbean.assign.AbstractTypeMatcher
-
A convenience method that returns
trueif and only if theQualifiedNameablethat declares the suppliedDeclaredTypehas a qualified name that is equal to the suppliedCharSequence. - nonGenericClassOrRawType(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns the supplied
TypeMirrorif it is a kind that cannot yield a raw type, or the raw type thattyields. - normalize(T) - Method in class org.microbean.assign.Normalizer
-
Normalizes the supplied
elementsuch that if thisNormalizeralready has an equivalent cached element, the cached element is returned, and, if it does not, the suppliedelementis cached indefinitely and returned. - normalize(T, Object) - Method in class org.microbean.assign.Normalizer
-
Normalizes the supplied
elementsuch that if thisNormalizeralready has an equivalent cached element, the cached element is returned, and, if it does not, the suppliedelementis cached indefinitely and returned. - Normalizer<T> - Class in org.microbean.assign
-
An experimental, simple, mutable, concurrent cache of objects.
- Normalizer() - Constructor for class org.microbean.assign.Normalizer
-
Creates a new
Normalizer. - Normalizer(ConcurrentMap) - Constructor for class org.microbean.assign.Normalizer
-
Creates a new
Normalizer.
O
- of() - Static method in class org.microbean.assign.SupertypeList
- of(T) - Static method in interface org.microbean.assign.Annotated
-
A convenience method that returns a new
Annotatedimplementation. - of(T, Predicate) - Static method in interface org.microbean.assign.Annotated
-
A convenience method that returns a new
Annotatedimplementation. - org.microbean.assign - module org.microbean.assign
-
Provides packages related to implementing Java type assignment.
- org.microbean.assign - package org.microbean.assign
-
Provides classes and interfaces related to implementing Java type assignment.
P
- parallelStream() - Method in class org.microbean.assign.SupertypeList
- PrimitiveAndReferenceTypeKindComparator - Class in org.microbean.assign
-
A
Comparatorestablishing a partial order overTypeKinds such that type variables precede primitive types, primitive types precede array types, and array types precede declared types.
Q
- qualifier(AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
-
Returns
trueif and only if the suppliedAnnotationMirrorhas an annotation type declared by aTypeElementthat is annotated with at least one annotation deemed to be the meta-qualifier. - qualifiers(Collection) - Method in class org.microbean.assign.Qualifiers
-
Returns a non-
null, determinate, immutableListofAnnotationMirrorinstances drawn from the suppliedCollectionthat were deemed to be qualifiers. - Qualifiers - Class in org.microbean.assign
-
A utility class for working with qualifiers.
- Qualifiers(AnnotationMirror) - Constructor for class org.microbean.assign.Qualifiers
-
Creates a new
Qualifiers. - Qualifiers(AnnotationMirror, Predicate) - Constructor for class org.microbean.assign.Qualifiers
-
Creates a new
Qualifiers. - Qualifiers(Domain) - Constructor for class org.microbean.assign.Qualifiers
-
Creates a new
Qualifiers. - Qualifiers(Domain, AnnotationMirror, Predicate) - Constructor for class org.microbean.assign.Qualifiers
-
Creates a new
Qualifiers.
R
- remove(int) - Method in class org.microbean.assign.SupertypeList
- remove(Object) - Method in class org.microbean.assign.SupertypeList
- removeAll(Collection) - Method in class org.microbean.assign.SupertypeList
- removeFirst() - Method in class org.microbean.assign.SupertypeList
- removeIf(Predicate) - Method in class org.microbean.assign.SupertypeList
- removeLast() - Method in class org.microbean.assign.SupertypeList
- replaceAll(UnaryOperator) - Method in class org.microbean.assign.SupertypeList
- retainAll(Collection) - Method in class org.microbean.assign.SupertypeList
S
- sameAnnotation(AnnotationMirror, AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
-
Determines whether the two
AnnotationMirrors represent the same (underlying, otherwise opaque) annotation. - select(C) - Method in interface org.microbean.assign.Selectable
-
Selects and returns an immutable
Listrepresenting a sublist of thisSelectable's elements, as mediated by the supplied criteria. - Selectable<C,
E> - Interface in org.microbean.assign -
A notional, opaque, stable collection of elements from which immutable sublists may be selected according to some criteria.
- Selectables - Class in org.microbean.assign
-
Utility methods for working with
Selectables. - set(int, TypeMirror) - Method in class org.microbean.assign.SupertypeList
- size() - Method in class org.microbean.assign.SupertypeList
- sort(Comparator) - Method in class org.microbean.assign.SupertypeList
- SpecializationComparator - Class in org.microbean.assign
-
A
ComparatorofTypeMirrors that establishes a partial order on its arguments, enforcing only that more specialized types precede less specialized ones. - SpecializationComparator(Domain) - Constructor for class org.microbean.assign.SpecializationComparator
-
Creates a new
SpecializationComparator. - spliterator() - Method in class org.microbean.assign.SupertypeList
- stream() - Method in class org.microbean.assign.SupertypeList
- subList(int, int) - Method in class org.microbean.assign.SupertypeList
- SupertypeList - Class in org.microbean.assign
-
An immutable
ListofTypeMirrors sorted in a specific way, intended to store the supertypes of aTypeMirror. - supertypes(TypeMirror) - Method in class org.microbean.assign.Types
- supertypes(TypeMirror, Predicate) - Method in class org.microbean.assign.Types
-
Returns a non-
null, determinateSupertypeListof the supertypes of the suppliedTypeMirror, filtered using the suppliedPredicate.
T
- test(C, T) - Method in interface org.microbean.assign.Matcher
-
Returns
trueif and only if the second argument matches the first argument. - toArray() - Method in class org.microbean.assign.SupertypeList
- toArray(IntFunction) - Method in class org.microbean.assign.SupertypeList
- toArray(T[]) - Method in class org.microbean.assign.SupertypeList
- toString() - Method in record class org.microbean.assign.Assignment
-
Returns a string representation of this record class.
- toString() - Method in class org.microbean.assign.SupertypeList
- Types - Class in org.microbean.assign
-
A utility class that assists with working with a
Domaininstance. - Types(Domain) - Constructor for class org.microbean.assign.Types
-
Creates a new
Types.
U
- unboundedTypeVariable(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
A convenience method that returns
trueif and only iftis a type variable whose upper bound is an unbounded type variable (recursively), or is the type declared byjava.lang.Object.
V
- value() - Method in record class org.microbean.assign.Assignment
-
Returns the value of the
valuerecord component.
Y
- yieldsRawType(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns
trueif and only iftis either a parameterized type or an array type whose element type is parameterized.
All Classes and Interfaces|All Packages|External Specifications