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
. - 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 any qualifier and the default qualifier. - anyQualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the any qualifier.
- anyQualifier(NamedAttributeMap<?>) - 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 any qualifier.
C
- 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(NamedAttributeMap<?>) - 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. - describeConstable() - Method in class org.microbean.assign.AbstractTypeMatcher
- 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
- 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
.
G
- get(int) - Method in class org.microbean.assign.SupertypeList
H
- 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
M
- Matcher<A,
B> - Interface in org.microbean.assign -
A
BiPredicate
with particular semantics associated with itsMatcher.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 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<NamedAttributeMap<?>>) - Static method in class org.microbean.assign.Qualifiers
- normalize(NamedAttributeMap<?>) - Static method in class org.microbean.assign.Qualifiers
O
- 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.
Q
- qualifier() - Static method in class org.microbean.assign.Qualifiers
-
Returns the qualifier (meta-) qualifier.
- qualifier(NamedAttributeMap<?>) - Static method in class org.microbean.assign.Qualifiers
-
Returns
true
if and only if the suppliedNamedAttributeMap
is itself aNamedAttributeMap
that can be used to designate otherNamedAttributeMap
s as qualifiers, or aNamedAttributeMap
so designated. - qualifiers(Collection<? extends NamedAttributeMap<?>>) - Static method in class org.microbean.assign.Qualifiers
-
Returns an unmodifiable
List
consisting only of thoseNamedAttributeMap
s in the suppliedCollection
that are qualifiers. - Qualifiers - Class in org.microbean.assign
-
A utility class for working with commonly-used qualifiers.
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. - 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
.
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