Index

A C D E F G H I J L M N O P Q R S T U V Y 
All Classes and Interfaces|All Packages|External Specifications

A

AbstractTypeMatcher - Class in org.microbean.assign
A partial implementation of a Matcher that tests if one TypeMirror matches 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
A convenience method that returns true if and only if all elements supplied by the supplied Iterable "pass" the supplied Predicate.
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
Returns a non-null, immutable, determinate List of semantically significant AnnotationMirrors.
assign(Function) - Method in interface org.microbean.assign.Aggregate
A convenience method that assigns a contextual reference to each of this Aggregate's Annotated<? extends Element>-typed dependencies and returns the resulting SequencedSet of Assignments.
assignee() - Method in record class org.microbean.assign.Assignment
Returns the value of the assignee record 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 Selectable that caches its results.
caching(Selectable, BiFunction) - Static method in class org.microbean.assign.Selectables
Returns a Selectable that caches its results.
ClassesThenInterfacesElementKindComparator - Class in org.microbean.assign
A Comparator establishing a partial order over ElementKinds such that classes precede interfaces.
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 true if and only if the supplied Collection of AnnotationMirrors contains an AnnotationMirror that is the same as the supplied AnnotationMirror.
containsAll(Collection) - Method in class org.microbean.assign.SupertypeList
 
containsAll(Collection, Collection) - Method in class org.microbean.assign.Qualifiers
Returns true if and only if c0 contains all the same AnnotationMirrors as are found in c1,
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 true if and only if payload is covariantly assignable to receiver.

D

dependencies() - Method in interface org.microbean.assign.Aggregate
Returns an immutable, determinate, SequencedSet of Annotated<? extends Element> instances.
describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
Returns an Optional housing a ConstantDesc that represents this AbstractTypeMatcher implementation.
describeConstable() - Method in class org.microbean.assign.Qualifiers
Returns a non-null, determinate Optional housing a ConstantDesc describing this Qualifiers, or an empty Optional if it cannot be described.
describeConstable() - Method in class org.microbean.assign.Types
Returns an Optional housing a ConstantDesc that represents this Types.
domain() - Method in class org.microbean.assign.AbstractTypeMatcher
Returns the Domain used by this AbstractTypeMatcher implementation.
domain() - Method in class org.microbean.assign.Types
Returns the Domain affiliated with this Types instance.

E

empty() - Static method in class org.microbean.assign.Selectables
Returns a Selectable whose Selectable.select(Object) method always returns an empty, immutable List.
EMPTY_ASSIGNMENTS - Static variable in interface org.microbean.assign.Aggregate
An immutable, empty SequencedSet of Assignments.
EMPTY_DEPENDENCIES - Static variable in interface org.microbean.assign.Aggregate
An immutable, empty SequencedSet of Elements.
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
Returns true if and only if the supplied Object is equal to this Types.
erasedName(TypeMirror) - Static method in class org.microbean.assign.Types
Returns the non-null, determinate erased name of the supplied TypeMirror.

F

filtering(Collection, BiPredicate) - Static method in class org.microbean.assign.Selectables
Returns a Selectable using the supplied Collection as its elements, and the supplied BiPredicate as 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 Types based solely on its Domain.

I

identical(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
A utility method that returns true if and only if this AbstractTypeMatcher implementation considers the two supplied TypeMirrors 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 SupertypeList contains, 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 BiPredicate with particular semantics associated with its test(Object, Object) method.
metaQualifier() - Method in class org.microbean.assign.Qualifiers
Returns a non-null, determinate AnnotationMirror that can be used to designate (meta-annotate) other annotations as qualifiers.
metaQualifier(AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
Returns true if and only if the supplied AnnotationMirror is the same annotation as the supplied AnnotationMirror.
metaQualifiers() - Method in class org.microbean.assign.Qualifiers
Returns a non-null, determinate, immutable List whose sole element is the meta-qualifier annotation.

N

named(DeclaredType, CharSequence) - Static method in class org.microbean.assign.AbstractTypeMatcher
A convenience method that returns true if and only if the QualifiedNameable that declares the supplied DeclaredType has a qualified name that is equal to the supplied CharSequence.
nonGenericClassOrRawType(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
Returns the supplied TypeMirror if it is a kind that cannot yield a raw type, or the raw type that t yields.
normalize(T) - Method in class org.microbean.assign.Normalizer
Normalizes the supplied element such that if this Normalizer already has an equivalent cached element, the cached element is returned, and, if it does not, the supplied element is cached indefinitely and returned.
normalize(T, Object) - Method in class org.microbean.assign.Normalizer
Normalizes the supplied element such that if this Normalizer already has an equivalent cached element, the cached element is returned, and, if it does not, the supplied element is 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
Returns a non-null empty SupertypeList.
of(T) - Static method in interface org.microbean.assign.Annotated
A convenience method that returns a new Annotated implementation.
of(T, Predicate) - Static method in interface org.microbean.assign.Annotated
A convenience method that returns a new Annotated implementation.
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

Q

qualifier(AnnotationMirror) - Method in class org.microbean.assign.Qualifiers
Returns true if and only if the supplied AnnotationMirror has an annotation type declared by a TypeElement that 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, immutable List of AnnotationMirror instances drawn from the supplied Collection that 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 List representing a sublist of this Selectable'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 Comparator of TypeMirrors 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
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 List of TypeMirrors sorted in a specific way, intended to store the supertypes of a TypeMirror.
supertypes(TypeMirror) - Method in class org.microbean.assign.Types
Returns a non-null, determinate SupertypeList of the supertypes of the supplied TypeMirror.
supertypes(TypeMirror, Predicate) - Method in class org.microbean.assign.Types
Returns a non-null, determinate SupertypeList of the supertypes of the supplied TypeMirror, filtered using the supplied Predicate.

T

test(C, T) - Method in interface org.microbean.assign.Matcher
Returns true if 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 Domain instance.
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 true if and only if t is a type variable whose upper bound is an unbounded type variable (recursively), or is the type declared by java.lang.Object.

V

value() - Method in record class org.microbean.assign.Assignment
Returns the value of the value record component.

Y

yieldsRawType(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
Returns true if and only if t is either a parameterized type or an array type whose element type is parameterized.
A C D E F G H I J L M N O P Q R S T U V Y 
All Classes and Interfaces|All Packages|External Specifications