Index
A B C D E G H I L N O R S T U
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- add(Type) - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked. - addAll(Collection<? extends Type>) - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked. - anyIsAssignable(Type, Collection<? extends Type>) - Method in class org.microbean.type.TypeSemantics
-
Returns
true
if an object bearing any of theType
s contained by the suppliedpayloadTypes
Collection
is assignable to an object reference bearing aType
equal to the suppliedreceiverType
.
B
- box(Class<?>) - Method in class org.microbean.type.TypeSemantics
-
Returns a boxed representation of the supplied
Class
ifTypeSemantics.isBoxing()
returnstrue
or the suppliedClass
if it does not. - box(T) - Static method in class org.microbean.type.Types
-
Returns the result of boxing conversion on the supplied
Type
.
C
- clear() - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked. - contains(Object) - Method in class org.microbean.type.TypeSet
- containsAll(Collection<?>) - Method in class org.microbean.type.TypeSet
- CovariantTypeSemantics - Class in org.microbean.type
-
A
TypeSemantics
specialization that implements the Java Language Specification type assignability rules. - CovariantTypeSemantics(boolean) - Constructor for class org.microbean.type.CovariantTypeSemantics
-
Creates a new
CovariantTypeSemantics
instance.
D
- DefaultGenericArrayType - Class in org.microbean.type
-
A
GenericArrayType
implementation. - DefaultGenericArrayType(Type) - Constructor for class org.microbean.type.DefaultGenericArrayType
-
Creates a new
DefaultGenericArrayType
. - DefaultParameterizedType - Class in org.microbean.type
-
A
ParameterizedType
implementation. - DefaultParameterizedType(Type, Type, Type...) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType
.
E
- EMPTY_TYPESET - Static variable in class org.microbean.type.TypeSet
-
A
TypeSet
that is forever empty. - emptyTypeSet() - Static method in class org.microbean.type.TypeSet
-
Returns
EMPTY_TYPESET
when invoked. - equals(Object) - Method in class org.microbean.type.DefaultGenericArrayType
- equals(Object) - Method in class org.microbean.type.DefaultParameterizedType
G
- getActualTypeArguments() - Method in class org.microbean.type.DefaultParameterizedType
- getClasses() - Method in class org.microbean.type.TypeSet
-
Returns a non-
null
, unmodifiableSortedSet
of allClass
es (not interfaces) contained directly or indirectly by thisTypeSet
. - getGenericComponentType() - Method in class org.microbean.type.DefaultGenericArrayType
- getInterfaces() - Method in class org.microbean.type.TypeSet
-
Returns a non-
null
, unmodifiableSet
of all interfaces contained directly or indirectly by thisTypeSet
. - getInvariantTypeSemantics() - Method in class org.microbean.type.CovariantTypeSemantics
-
Returns a
TypeSemantics
used for certain cases where invariant type assignability semantics are called for, such as when comparingParameterizedType
type arguments. - getMostSpecializedClass() - Method in class org.microbean.type.TypeSet
- getMostSpecializedInterface() - Method in class org.microbean.type.TypeSet
-
Returns an arbitrarily selected
Class
that is guaranteed to be the most specialized interface in its type hierarchy drawn from the interfaces in thisTypeSet
, ornull
if thisTypeSet
contains no interfaces. - getOwnerType() - Method in class org.microbean.type.DefaultParameterizedType
- getRawType() - Method in class org.microbean.type.DefaultParameterizedType
- getRawTypes() - Method in class org.microbean.type.TypeSet
-
Returns a non-
null
, unmodifiableSortedSet
of all raw types contained directly or indirectly by thisTypeSet
. - getSemanticsFor(Type, Type) - Method in class org.microbean.type.TypeSemantics
-
Returns the
TypeSemantics
instance to use when testing if objects bearing the suppliedpayloadType
are assignable to references bearing the suppliedreceiverType
.
H
- hashCode() - Method in class org.microbean.type.DefaultGenericArrayType
- hashCode() - Method in class org.microbean.type.DefaultParameterizedType
I
- INSTANCE - Static variable in class org.microbean.type.UnboundedWildcardType
-
The sole instance of this class.
- InvariantTypeSemantics - Class in org.microbean.type
-
An abstract
TypeSemantics
that, in general, comparesType
s using invariant semantics. - InvariantTypeSemantics(boolean) - Constructor for class org.microbean.type.InvariantTypeSemantics
-
Creates a new
InvariantTypeSemantics
. - isAssignable(Class<?>, Class<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(Class<?>, Class<?>) - Method in class org.microbean.type.InvariantTypeSemantics
- isAssignable(Class<?>, Class<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(Class<?>, GenericArrayType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(Class<?>, GenericArrayType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(Class<?>, ParameterizedType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(Class<?>, ParameterizedType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(Class<?>, TypeVariable<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(Class<?>, TypeVariable<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(Class<?>, WildcardType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(GenericArrayType, Class<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(GenericArrayType, Class<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(GenericArrayType, GenericArrayType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(GenericArrayType, ParameterizedType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(GenericArrayType, TypeVariable<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(GenericArrayType, WildcardType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(ParameterizedType, Class<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(ParameterizedType, Class<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(ParameterizedType, GenericArrayType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(ParameterizedType, ParameterizedType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(ParameterizedType, ParameterizedType) - Method in class org.microbean.type.InvariantTypeSemantics
- isAssignable(ParameterizedType, ParameterizedType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(ParameterizedType, TypeVariable<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(ParameterizedType, TypeVariable<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(ParameterizedType, WildcardType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(Type, Type) - Method in class org.microbean.type.TypeSemantics
-
Returns
true
if an object bearing aType
equal to the suppliedpayloadType
can be assigned to an object reference bearing aType
equal to the suppliedreceiverType
, according to the semantics represented by the return value of an invocation of theTypeSemantics.getSemanticsFor(Type, Type)
method with the given parameter values. - isAssignable(TypeVariable<?>, Class<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(TypeVariable<?>, GenericArrayType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(TypeVariable<?>, ParameterizedType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(TypeVariable<?>, TypeVariable<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(TypeVariable<?>, TypeVariable<?>) - Method in class org.microbean.type.InvariantTypeSemantics
- isAssignable(TypeVariable<?>, TypeVariable<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(TypeVariable<?>, WildcardType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(WildcardType, Class<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(WildcardType, Class<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(WildcardType, GenericArrayType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(WildcardType, GenericArrayType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(WildcardType, ParameterizedType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(WildcardType, ParameterizedType) - Method in class org.microbean.type.TypeSemantics
- isAssignable(WildcardType, TypeVariable<?>) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(WildcardType, TypeVariable<?>) - Method in class org.microbean.type.TypeSemantics
- isAssignable(WildcardType, WildcardType) - Method in class org.microbean.type.CovariantTypeSemantics
- isAssignable(WildcardType, WildcardType) - Method in class org.microbean.type.TypeSemantics
- isBoxing() - Method in class org.microbean.type.TypeSemantics
-
Returns
true
if theTypeSemantics.box(Class)
method will actually attempt a boxing operation in appropriate circumstances, orfalse
if it will simply return the suppliedClass
. - isClass(Type) - Static method in class org.microbean.type.Types
- isEmpty() - Method in class org.microbean.type.TypeSet
- isPrimitive(Type) - Static method in class org.microbean.type.Types
- isRawClass(Type) - Static method in class org.microbean.type.Types
- iterator() - Method in class org.microbean.type.TypeSet
L
- LowerBoundedWildcardType - Class in org.microbean.type
-
A
WildcardType
implementation that has only lower bounds. - LowerBoundedWildcardType(Type) - Constructor for class org.microbean.type.LowerBoundedWildcardType
-
Creates a new
LowerBoundedWildcardType
. - LowerBoundedWildcardType(Type[]) - Constructor for class org.microbean.type.LowerBoundedWildcardType
-
Creates a new
LowerBoundedWildcardType
.
N
- normalize(Type) - Static method in class org.microbean.type.Types
-
For the vast majority of cases, returns the supplied
Type
unchanged, but in the case where a rawClass
is supplied, returns an equivalentParameterizedType
whose actual type arguments are not resolved.
O
- org.microbean.type - package org.microbean.type
-
Provides classes and interfaces related to Java
Type
instances.
R
- remove(Object) - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked. - removeAll(Collection<?>) - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked. - resolve(Type, Function<? super Type, ? extends Type>) - Static method in class org.microbean.type.Types
-
Resolves the supplied
Type
and returns the result. - resolve(Type, Function<? super Type, ? extends Type>, boolean) - Static method in class org.microbean.type.Types
-
Resolves the supplied
Type
and returns the result. - retainAll(Collection<?>) - Method in class org.microbean.type.TypeSet
-
Throws an
UnsupportedOperationException
when invoked.
S
- size() - Method in class org.microbean.type.TypeSet
- spliterator() - Method in class org.microbean.type.TypeSet
T
- toArray() - Method in class org.microbean.type.TypeSet
- toArray(T[]) - Method in class org.microbean.type.TypeSet
- toClass(Type) - Static method in class org.microbean.type.Types
- toString() - Method in class org.microbean.type.DefaultGenericArrayType
- toString() - Method in class org.microbean.type.DefaultParameterizedType
- toString() - Method in class org.microbean.type.TypeSet
- toTypes(Type) - Static method in class org.microbean.type.Types
-
Returns a non-
null
, unmodifiableSet
ofType
s, each element of which is aType
which any instance bearing the suppliedType
will implement. - toTypes(Type, boolean) - Static method in class org.microbean.type.Types
-
Returns a non-
null
, unmodifiableSet
ofType
s, each element of which is aType
which any instance bearing the suppliedType
will implement. - toTypes(Type, Predicate<? super Type>) - Static method in class org.microbean.type.Types
-
Returns a non-
null
, unmodifiableSet
ofType
s, each element of which is aType
which any instance bearing the suppliedType
will implement. - toTypes(Type, Predicate<? super Type>, boolean) - Static method in class org.microbean.type.Types
-
Returns a non-
null
, unmodifiableSet
ofType
s, each element of which is aType
which any instance bearing the suppliedType
will implement. - Types - Class in org.microbean.type
-
A hub for Java
Type
-related operations. - TypeSemantics - Class in org.microbean.type
-
An object representing
Type
compatibility and assignability semantics. - TypeSemantics(boolean) - Constructor for class org.microbean.type.TypeSemantics
-
Creates a new
TypeSemantics
. - TypeSet - Class in org.microbean.type
- TypeSet() - Constructor for class org.microbean.type.TypeSet
- TypeSet(Type) - Constructor for class org.microbean.type.TypeSet
- TypeSet(Collection<? extends Type>) - Constructor for class org.microbean.type.TypeSet
U
- UnboundedWildcardType - Class in org.microbean.type
-
A
WildcardType
implementation that has no bounds, i.e. - UpperBoundedWildcardType - Class in org.microbean.type
-
A
WildcardType
implementation that has only upper bounds. - UpperBoundedWildcardType(Type) - Constructor for class org.microbean.type.UpperBoundedWildcardType
-
Creates a new
UpperBoundedWildcardType
. - UpperBoundedWildcardType(Type[]) - Constructor for class org.microbean.type.UpperBoundedWildcardType
-
Creates a new
UpperBoundedWildcardType
.
All Classes|All Packages