Index
All Classes and Interfaces|All Packages|External Specifications
A
- AbstractTypeMatcher - Class in org.microbean.assign
-
A partial implementation of a
Matcher
that tests if oneTypeMirror
matches another. - AbstractTypeMatcher(Domain) - Constructor for class org.microbean.assign.AbstractTypeMatcher
-
Creates a new
AbstractTypeMatcher
. - Aggregate - Interface in org.microbean.assign
-
An object with dependencies.
- allAre(Iterable<? extends T>, Predicate<? super T>) - Static method in class org.microbean.assign.AbstractTypeMatcher
- anyAndDefaultQualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an unmodifiable
List
consisting solely of the unattributed any qualifier and the default qualifier. - anyQualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the unattributed any qualifier.
- anyQualifier(Attributes) - Static method in class org.microbean.assign.Qualifiers
- anyQualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an immutable
List
consisting solely of the unattributed any qualifier. - assign(Function<? super AttributedType, ?>) - Method in interface org.microbean.assign.Aggregate
-
A convenience method that assigns a contextual reference to each of this
Aggregate
'sAttributedElement
instances and returns the resultingSequencedSet
ofAssignment
s. - 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
- AttributedElement(Element, List<Attributes>) - Constructor for record class org.microbean.assign.AttributedElement
-
Creates a new
AttributedElement
. - attributedType() - Method in record class org.microbean.assign.AttributedElement
-
Returns this
AttributedElement
'sAttributedType
. - AttributedType - Record Class in org.microbean.assign
- AttributedType(TypeMirror) - Constructor for record class org.microbean.assign.AttributedType
-
Creates a new
AttributedType
. - AttributedType(TypeMirror, List<Attributes>) - 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
. - 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<C, E>) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectable
that caches its results. - caching(Selectable<C, E>, BiFunction<? super C, Function<? super C, ? extends List<E>>, ? extends List<E>>) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectable
that caches its results. - ClassesThenInterfacesElementKindComparator - Class in org.microbean.assign
- compare(ElementKind, ElementKind) - Method in class org.microbean.assign.ClassesThenInterfacesElementKindComparator
-
Compares the two
ElementKind
s and returns the result. - compare(TypeKind, TypeKind) - Method in class org.microbean.assign.PrimitiveAndReferenceTypeKindComparator
-
Compares the two
TypeKind
s and returns the result. - compare(TypeMirror, TypeMirror) - Method in class org.microbean.assign.SpecializationComparator
-
Compares two
TypeMirror
s and returns the result. - covariantlyAssignable(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns
true
if and only ifpayload
is covariantly assignable toreceiver
.
D
- defaultQualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the default qualifier.
- defaultQualifier(Attributes) - Static method in class org.microbean.assign.Qualifiers
- defaultQualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an immutable
List
consisting solely of the default qualifier. - dependencies() - Method in interface org.microbean.assign.Aggregate
-
Returns an immutable
SequencedSet
ofAttributedElement
instances. - describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
- describeConstable() - Method in record class org.microbean.assign.AttributedElement
-
Returns an
Optional
containing aConstantDesc
describing thisAttributedType
, or an emptyOptional
if it could not be described. - describeConstable() - Method in record class org.microbean.assign.AttributedType
-
Returns an
Optional
containing aConstantDesc
describing thisAttributedType
, or an emptyOptional
if it could not be described. - describeConstable() - Method in class org.microbean.assign.Types
- domain() - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns the
Domain
used by thisAbstractTypeMatcher
implementation. - domain() - Method in class org.microbean.assign.Types
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
- EMPTY_ASSIGNMENTS - Static variable in interface org.microbean.assign.Aggregate
-
An immutable, empty
SequencedSet
ofAssignment
s. - EMPTY_DEPENDENCIES - Static variable in interface org.microbean.assign.Aggregate
-
An immutable, empty
SequencedSet
ofAttributedElement
s. - 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.Types
- erasedName(TypeMirror) - Static method in class org.microbean.assign.Types
-
Returns the erased name of the supplied
TypeMirror
.
F
- filtering(Collection<? extends E>, BiPredicate<? super E, ? super C>) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectable
using the suppliedCollection
as its elements, and the suppliedBiPredicate
as its selector.
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.Types
-
Returns a hashcode for this
Types
based solely on itsDomain
.
I
- identical(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
A utility method that returns
true
if and only if thisAbstractTypeMatcher
implementation considers the two suppliedTypeMirror
s to be identical. - 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.
J
- Java Language Specification, section 4.10 - Search tag in org.microbean.assign.Types.supertypes(TypeMirror)
- External Specification
- Java Language Specification, section 4.10 - Search tag in org.microbean.assign.Types.supertypes(TypeMirror, Predicate<? super TypeMirror>)
- External Specification
- Java Language Specification, section 4.10.2 - Search tag in org.microbean.assign.Types.supertypes(TypeMirror)
- External Specification
- Java Language Specification, section 4.10.2 - Search tag in org.microbean.assign.Types.supertypes(TypeMirror, Predicate<? super TypeMirror>)
- External Specification
L
- list() - Method in interface org.microbean.assign.Selectable
-
Returns an immutable
List
of all of thisSelectable
's elements.
M
- Matcher<A,
B> - Interface in org.microbean.assign -
A
BiPredicate
with particular semantics associated with itstest(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 theQualifiedNameable
that declares the suppliedDeclaredType
has a qualified name that is equal to the suppliedCharSequence
. - 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 thatt
yields. - normalize(List<Attributes>) - Static method in class org.microbean.assign.Qualifiers
- normalize(Attributes) - Static method in class org.microbean.assign.Qualifiers
O
- 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
- PrimitiveAndReferenceTypeKindComparator - Class in org.microbean.assign
-
A
Comparator
establishing a partial order overTypeKind
s such that type variables precede primitive types, primitive types precede array types, and array types precede declared types. - primordialQualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the primordial qualifier.
- primordialQualifier(Attributes) - Static method in class org.microbean.assign.Qualifiers
- primordialQualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an immutable
List
consisting solely of the primordial qualifier.
Q
- qualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the qualifier (meta-) qualifier.
- qualifier(Attributes) - Static method in class org.microbean.assign.Qualifiers
-
Returns
true
if and only if the suppliedAttributes
is anAttributes
that can be used to designate otherAttributes
as qualifiers. - qualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an immutable
List
consisting solely of the qualifier (meta-) qualifier. - qualifiers(Collection<? extends Attributes>) - Static method in class org.microbean.assign.Qualifiers
-
Returns an unmodifiable
List
consisting only of thoseAttributes
in the suppliedCollection
that are qualifiers. - Qualifiers - Class in org.microbean.assign
-
A utility class for working with commonly-used qualifiers.
S
- select(C) - Method in interface org.microbean.assign.Selectable
-
Selects and returns an immutable
List
representing a sublist of thisSelectable
'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
Selectable
s. - size() - Method in class org.microbean.assign.SupertypeList
- SpecializationComparator - Class in org.microbean.assign
-
A
Comparator
ofTypeMirror
s 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
. - SupertypeList - Class in org.microbean.assign
-
An immutable
AbstractList
ofTypeMirror
s sorted in a specific way, intended to store the supertypes of aTypeMirror
. - supertypes(TypeMirror) - Method in class org.microbean.assign.Types
- supertypes(TypeMirror, Predicate<? super TypeMirror>) - Method in class org.microbean.assign.Types
-
Returns a non-
null
SupertypeList
of the supertypes of the suppliedTypeMirror
, filtered using the suppliedPredicate
.
T
- test(A, B) - Method in interface org.microbean.assign.Matcher
-
Returns
true
if and only if the second argument matches the first argument. - 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.
- 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 ift
is 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
value
record component.
Y
- yieldsRawType(TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns
true
if and only ift
is either a parameterized type or an array type whose element type is parameterized.
All Classes and Interfaces|All Packages|External Specifications