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.
assign(Function) - Method in interface org.microbean.assign.Aggregate
A convenience method that assigns a contextual reference to each of this Aggregate's AttributedElement instances 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 AttributedElement.
Assignment(AttributedElement, R) - Constructor for record class org.microbean.assign.Assignment
Creates a new Assignment.
AttributedElement - Record Class in org.microbean.assign
A pairing of an Element with a List of Attributess.
AttributedElement(Element, List) - Constructor for record class org.microbean.assign.AttributedElement
Creates a new AttributedElement.
attributedType() - Method in record class org.microbean.assign.AttributedElement
attributedType() - Method in interface org.microbean.assign.AttributedTyped
Returns the AttributedType with which this AttributedTyped instance is affiliated.
AttributedType - Record Class in org.microbean.assign
A pairing of a TypeMirror with a List of Attributess.
AttributedType(TypeMirror) - Constructor for record class org.microbean.assign.AttributedType
Creates a new AttributedType.
AttributedType(TypeMirror, List) - Constructor for record class org.microbean.assign.AttributedType
Creates a new AttributedType.
AttributedType(TypeMirror, Attributes...) - Constructor for record class org.microbean.assign.AttributedType
Creates a new AttributedType.
AttributedTyped - Interface in org.microbean.assign
An interface whose implementations are affiliated with an AttributedType.
attributes() - Method in record class org.microbean.assign.AttributedElement
Returns the value of the attributes record component.
attributes() - Method in record class org.microbean.assign.AttributedType
Returns the value of the attributes record component.

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
 
containsAll(Collection) - Method in class org.microbean.assign.SupertypeList
 
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 AttributedElement instances.
describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
Returns an Optional housing a ConstantDesc that represents this AbstractTypeMatcher implementation.
describeConstable() - Method in record class org.microbean.assign.AttributedElement
Returns an Optional containing a ConstantDesc describing this AttributedType, or an empty Optional if it could not be described.
describeConstable() - Method in record class org.microbean.assign.AttributedType
Returns an Optional containing a ConstantDesc describing this AttributedType, or an empty Optional if it could not 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

element() - Method in record class org.microbean.assign.AttributedElement
Returns the value of the element record component.
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 AttributedElements.
equals(Object) - Method in record class org.microbean.assign.Assignment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.microbean.assign.AttributedElement
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.microbean.assign.AttributedType
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 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 record class org.microbean.assign.AttributedElement
Returns a hash code value for this object.
hashCode() - Method in record class org.microbean.assign.AttributedType
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<A,B> - Interface in org.microbean.assign
A BiPredicate with particular semantics associated with its test(Object, Object) method.

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(List) - Method in class org.microbean.assign.Qualifiers
Returns an immutable List of Attributess that is equal to the supplied List.
normalize(Attributes) - Method in class org.microbean.assign.Qualifiers
Returns an Attributes that is equal to the supplied Attributes.

O

of() - Static method in class org.microbean.assign.SupertypeList
Returns a non-null empty SupertypeList.
of(TypeMirror, Attributes...) - Static method in record class org.microbean.assign.AttributedType
Returns an AttributedType comprising the supplied arguments.
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() - Method in class org.microbean.assign.Qualifiers
Returns the qualifier (meta-) qualifier.
qualifier(Attributes) - Method in class org.microbean.assign.Qualifiers
Returns true if and only if the supplied Attributes is an Attributes that can be used to designate other Attributes as qualifiers.
qualifiers() - Method in class org.microbean.assign.Qualifiers
Returns an immutable List consisting solely of the qualifier (meta-) qualifier.
qualifiers(Collection) - Method in class org.microbean.assign.Qualifiers
Returns an unmodifiable List consisting only of those Attributes in the supplied Collection that are qualifiers.
Qualifiers - Class in org.microbean.assign
A utility class for working with qualifiers.
Qualifiers() - 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

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 list 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 SupertypeList of the supertypes of the supplied TypeMirror.
supertypes(TypeMirror, Predicate) - Method in class org.microbean.assign.Types
Returns a non-null SupertypeList of the supertypes of the supplied TypeMirror, filtered using the supplied Predicate.

T

test(A, B) - 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 record class org.microbean.assign.AttributedElement
Returns a string representation of this record class.
toString() - Method in record class org.microbean.assign.AttributedType
Returns a string representation of this record class.
toString() - Method in class org.microbean.assign.SupertypeList
 
type() - Method in record class org.microbean.assign.AttributedElement
Returns this AttributedElement's type.
type() - Method in record class org.microbean.assign.AttributedType
Returns the value of the type record component.
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