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. - 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
Listconsisting 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
Listconsisting 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'sAttributedElementinstances 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
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
attributesrecord component. - attributes() - Method in record class org.microbean.assign.AttributedType
-
Returns the value of the
attributesrecord component.
C
- caching(Selectable<C, E>) - Static method in class org.microbean.assign.Selectables
-
Returns a
Selectablethat 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
Selectablethat caches its results. - ClassesThenInterfacesElementKindComparator - Class in org.microbean.assign
- 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. - covariantlyAssignable(TypeMirror, TypeMirror) - Method in class org.microbean.assign.AbstractTypeMatcher
-
Returns
trueif and only ifpayloadis 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
Listconsisting solely of the default qualifier. - dependencies() - Method in interface org.microbean.assign.Aggregate
-
Returns an immutable
SequencedSetofAttributedElementinstances. - describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
- describeConstable() - Method in record class org.microbean.assign.AttributedElement
-
Returns an
Optionalcontaining aConstantDescdescribing thisAttributedType, or an emptyOptionalif it could not be described. - describeConstable() - Method in record class org.microbean.assign.AttributedType
-
Returns an
Optionalcontaining aConstantDescdescribing thisAttributedType, or an emptyOptionalif it could not 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
- element() - Method in record class org.microbean.assign.AttributedElement
-
Returns the value of the
elementrecord component. - empty() - Static method in class org.microbean.assign.Selectables
- 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
SequencedSetofAttributedElements. - 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
Selectableusing the suppliedCollectionas its elements, and the suppliedBiPredicateas 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
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. - 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.
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
Listof all of thisSelectable's elements.
M
- Matcher<A,
B> - Interface in org.microbean.assign -
A
BiPredicatewith 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
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(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
AttributedTypecomprising 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
Comparatorestablishing a partial order overTypeKinds 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
Listconsisting 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
trueif and only if the suppliedAttributesis anAttributesthat can be used to designate otherAttributesas qualifiers. - qualifiers() - Static method in class org.microbean.assign.Qualifiers
-
Returns an immutable
Listconsisting solely of the qualifier (meta-) qualifier. - qualifiers(Collection<? extends Attributes>) - Static method in class org.microbean.assign.Qualifiers
-
Returns an unmodifiable
Listconsisting only of thoseAttributesin the suppliedCollectionthat 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
Listrepresenting 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
Selectables. - size() - 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. - SupertypeList - Class in org.microbean.assign
-
An immutable
AbstractListofTypeMirrors 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-
nullSupertypeListof the supertypes of the suppliedTypeMirror, filtered using the suppliedPredicate.
T
- test(A, B) - Method in interface org.microbean.assign.Matcher
-
Returns
trueif 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
typerecord component. - 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