Index
All Classes and Interfaces|All Packages
A
- actualType(Type<?>) - Method in class org.microbean.type.Type.CdiSemantics
-
Returns
trueif and only if the suppliedTyperepresents an actual type, which the CDI specification implies, but does not explicitly state, is either a class, a parameterized type or a generic array type. - add(Type) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked. - addAll(Collection<? extends Type>) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked. - anyAssignable(Type, Collection<? extends Type>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing at least one of the types modeled by the suppliedpayloadTypesis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance. - anyAssignable(Type, Collection<? extends Type>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing at least one of the types modeled by the suppliedpayloadTypesis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance. - anyAssignable(Type<X>, Collection<? extends Type<Y>>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing at least one of the types modeled by the suppliedpayloadTypesis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance. - arrayType() - Method in class org.microbean.type.Type
- assignable(Type, Type) - Static method in class org.microbean.type.JavaTypes
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by theType.CovariantSemanticsclass. - assignable(Type, Type) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance, and using no autoboxing. - assignable(Type, Type, boolean) - Static method in class org.microbean.type.JavaTypes
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by theType.CovariantSemanticsclass. - assignable(Type, Type, boolean) - Method in class org.microbean.type.Type.CdiSemantics
- assignable(Type, Type, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance, and using the specified autoboxing semantics. - assignable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.InvariantSemantics
- assignable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeis assignable to a reference bearing the type modeled by the suppliedreceiverType, according to the assignability rules modeled by thisType.Semanticsinstance.
B
- Bootstraps - Class in org.microbean.type
-
Bootstrap methods for invokedynamic situations.
- box(Type) - Static method in class org.microbean.type.JavaType
- box(Type) - Static method in class org.microbean.type.JavaTypes
-
Returns the supplied
Typeif it is not aClassor if it is not primitive, or a boxed type representing it. - box(Type<? extends Type>) - Static method in class org.microbean.type.JavaType
-
Returns a boxed version of the supplied
Type, if appropriate. - boxedTypes - Static variable in class org.microbean.type.JavaTypes
C
- CD_Bootstraps - Static variable in class org.microbean.type.Bootstraps
-
The
ClassDescrepresenting this class. - CD_Constructor - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.Constructor. - CD_DefaultGenericArrayType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.DefaultGenericArrayType. - CD_DefaultParameterizedType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.DefaultParameterizedType. - CD_GenericArrayType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.GenericArrayType. - CD_GenericDeclaration - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.GenericDeclaration. - CD_JavaType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.JavaType. - CD_LowerBoundedWildcardType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.LowerBoundedWildcardType. - CD_Member - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.Member. - CD_Method - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.Method. - CD_ParameterizedType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.ParameterizedType. - CD_Type - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.Type. - CD_TypeVariable - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingjava.lang.reflect.TypeVariable. - CD_UnboundedWildcardType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.UnboundedWildcardType. - CD_UpperBoundedWildcardType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.UpperBoundedWildcardType. - CD_WildcardType - Static variable in class org.microbean.type.ConstantDescs
-
A
ClassDescrepresentingorg.microbean.type.UpperBoundedWildcardType. - CdiSemantics() - Constructor for class org.microbean.type.Type.CdiSemantics
-
Creates a new
Type.CdiSemantics. - classIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.VariantSemantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- classIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a Java generic array type and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CdiSemantics
- classIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- classIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadParameterizedTypemodels a Java parameterized type and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- classIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeVariableis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadTypeVariablemodels a Java type variable and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classIsAssignableFromWildcardType(Type<X>, Type<Y>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadWildcardTypeis assignable to a reference bearing the type modeled by the suppliedreceiverClass, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadWildcardTypemodels a Java wildcard type and not any other type, and if and only ifreceiverClassmodels a Java class and not any other type. - classOrInterfaceType() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a class or interface. - clear() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked. - componentType() - Method in class org.microbean.type.JavaType
- componentType() - Method in class org.microbean.type.Type
-
Returns the component type of this
Type, if there is one, ornullif there is not. - computeDirectSupertypes() - Method in class org.microbean.type.JavaType
-
Returns an unmodifiable and immutable
Listof the computed direct supertypes of thisJavaType, or an emptyListif there are no direct supertypes. - computeDirectSupertypes() - Method in class org.microbean.type.Type
-
Returns an unmodifiable and immutable
Listof the direct supertypes of thisType, or an emptyListif there are no direct supertypes, or if thisTypeimplementation does not distinguish between direct and non-direct supertypes. - computeSupertypes() - Method in class org.microbean.type.Type
- ConstantDescs - Class in org.microbean.type
-
A utility class containing useful
ConstantDescs (primarilyClassDescs). - contains(Object) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- CovariantSemantics() - Constructor for class org.microbean.type.Type.CovariantSemantics
-
Creates a new
Type.CovariantSemantics. - customSupertyped() - Method in class org.microbean.type.Type
D
- DefaultGenericArrayType - Class in org.microbean.type
-
A
GenericArrayTypeimplementation. - DefaultGenericArrayType(Type) - Constructor for class org.microbean.type.DefaultGenericArrayType
-
Creates a new
DefaultGenericArrayType. - DefaultParameterizedType - Class in org.microbean.type
-
A
ParameterizedTypeimplementation. - DefaultParameterizedType(ParameterizedType) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType. - DefaultParameterizedType(Type, Type, Type) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType. - DefaultParameterizedType(Type, Type, Type...) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType. - DefaultParameterizedType(Type, Type, Type, Type) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType. - DefaultParameterizedType(Type, Type, Type, Type, Type) - Constructor for class org.microbean.type.DefaultParameterizedType
-
Creates a new
DefaultParameterizedType. - DefaultTypeVariable<T extends GenericDeclaration> - Class in org.microbean.type
-
A
TypeVariableimplementation. - DefaultTypeVariable(GenericDeclaration, String) - Constructor for class org.microbean.type.DefaultTypeVariable
-
Creates a new
DefaultTypeVariable. - DefaultTypeVariable(GenericDeclaration, Predicate<? super TypeVariable<?>>) - Constructor for class org.microbean.type.DefaultTypeVariable
-
Creates a new
DefaultTypeVariable. - DefaultTypeVariable(TypeVariable<? extends T>) - Constructor for class org.microbean.type.DefaultTypeVariable
-
Creates a new
DefaultTypeVariable. - describeConstable() - Method in class org.microbean.type.DefaultGenericArrayType
- describeConstable() - Method in class org.microbean.type.DefaultParameterizedType
- describeConstable() - Method in class org.microbean.type.DefaultTypeVariable
- describeConstable() - Method in class org.microbean.type.JavaType
- describeConstable() - Method in class org.microbean.type.LowerBoundedWildcardType
- describeConstable() - Method in class org.microbean.type.UnboundedWildcardType
- describeConstable() - Method in class org.microbean.type.UpperBoundedWildcardType
- describeConstable(Type) - Static method in class org.microbean.type.JavaTypes
-
Returns an
Optionalcontaining the nominal descriptor in the form of aConstantDescfor the suppliedType, or an emptyOptionalif there is no such descriptor. - directSupertypes() - Method in class org.microbean.type.Type
- directSupertypes(Type) - Static method in class org.microbean.type.JavaTypes
-
Returns the direct supertypes of the supplied
Type, provided that it is either aClass, aParameterizedType, aGenericArrayTypeor aTypeVariable. - directSupertypes(Type, Predicate<? super Type>) - Static method in class org.microbean.type.JavaTypes
-
Returns the direct supertypes of the supplied
Type, provided that it is either aClass, aParameterizedType, aGenericArrayTypeor aTypeVariable. - DMHD_REFLECT_AS - Static variable in class org.microbean.type.ConstantDescs
-
A
DirectMethodHandleDescrepresentingMethodHandles.reflectAs(Class, MethodHandle).
E
- emptyTypeArray() - Static method in class org.microbean.type.JavaTypes
-
Returns a
Typearray with a length of0. - equals(Object) - Method in class org.microbean.type.LowerBoundedWildcardType
- equals(Object) - Method in class org.microbean.type.DefaultGenericArrayType
- equals(Object) - Method in class org.microbean.type.DefaultParameterizedType
- equals(Object) - Method in class org.microbean.type.DefaultTypeVariable
- equals(Object) - Method in class org.microbean.type.JavaType.Token
- equals(Object) - Method in class org.microbean.type.Type
- equals(Type, Type) - Static method in class org.microbean.type.JavaTypes
-
Tests two
Types for equality in a manner that is independent of their implementations. - equals(Type<?>, Type<?>) - Static method in class org.microbean.type.Type
- erase() - Method in class org.microbean.type.JavaType.Token
-
Returns the type erasure of this
JavaType.Token's modeledType, ornullif erasing theTypewould result in a non-Classerasure (in which case the erasure is simply theTypeitself), or if an erasure cannot be determined. - erase(Type) - Static method in class org.microbean.type.JavaTypes
-
Returns the type erasure for the supplied
Typeaccording to the rules of the Java Language Specification, section 4.6.
G
- genericArrayType() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a generic array type. - genericArrayTypeIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- genericArrayTypeIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - genericArrayTypeIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a Java generic array type and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - genericArrayTypeIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.VariantSemantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a generic array type and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - genericArrayTypeIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadParameterizedTypeis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadParameterizedTypemodels a Java parameterized type and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - genericArrayTypeIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeVariableis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadTypeVariablemodels a Java type variable and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - genericArrayTypeIsAssignableFromWildcardType(Type<X>, Type<Y>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadWildcardTypeis assignable to a reference bearing the type modeled by the suppliedreceiverGenericArrayType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadWildcardTypemodels a Java wildcard type and not any other type, and if and only ifreceiverGenericArrayTypemodels a generic array type and not any other type. - getActualTypeArguments() - Method in class org.microbean.type.DefaultParameterizedType
- getAnnotatedBounds() - Method in class org.microbean.type.DefaultTypeVariable
- getAnnotation(Class<T>) - Method in class org.microbean.type.DefaultTypeVariable
- getAnnotations() - Method in class org.microbean.type.DefaultTypeVariable
- getAnnotationsByType(Class<T>) - Method in class org.microbean.type.DefaultTypeVariable
- getBounds() - Method in class org.microbean.type.DefaultTypeVariable
- getDeclaredAnnotation(Class<T>) - Method in class org.microbean.type.DefaultTypeVariable
- getDeclaredAnnotations() - Method in class org.microbean.type.DefaultTypeVariable
- getDeclaredAnnotationsByType(Class<T>) - Method in class org.microbean.type.DefaultTypeVariable
- getDelegate() - Method in class org.microbean.type.DefaultTypeVariable
-
Returns the
TypeVariablethisDefaultTypeVariablewraps. - getGenericComponentType() - Method in class org.microbean.type.DefaultGenericArrayType
- getGenericDeclaration() - Method in class org.microbean.type.DefaultTypeVariable
- getLowerBound() - Method in class org.microbean.type.LowerBoundedWildcardType
-
Returns the sole lower bound of this
AbstractWildcardType, if there is one, ornull. - getLowerBounds() - Method in class org.microbean.type.LowerBoundedWildcardType
- getName() - Method in class org.microbean.type.DefaultTypeVariable
- getOwnerType() - Method in class org.microbean.type.DefaultParameterizedType
- getRawType() - Method in class org.microbean.type.DefaultParameterizedType
- getTypeVariable(GenericDeclaration, String) - Static method in class org.microbean.type.Bootstraps
-
Returns a
TypeVariablewith a name equal to the suppliednameand that is declared by the suppliedGenericDeclaration, ornullif there is no suchTypeVariable. - getUpperBound() - Method in class org.microbean.type.LowerBoundedWildcardType
-
Returns the sole upper bound of this
AbstractWildcardType. - getUpperBounds() - Method in class org.microbean.type.LowerBoundedWildcardType
H
- hashCode() - Method in class org.microbean.type.LowerBoundedWildcardType
- hashCode() - Method in class org.microbean.type.DefaultGenericArrayType
- hashCode() - Method in class org.microbean.type.DefaultParameterizedType
- hashCode() - Method in class org.microbean.type.DefaultTypeVariable
- hashCode() - Method in class org.microbean.type.JavaType.Token
- hashCode() - Method in class org.microbean.type.Type
- hashCode(Type) - Static method in class org.microbean.type.JavaTypes
-
Computes and returns a hashcode for the supplied
Typeindependent of its implementation. - hashCode(Type<?>) - Static method in class org.microbean.type.Type
-
Returns a hashcode for the supplied
Type, independent of its particular implementation of theObject.hashCode()method. - hasParameters() - Method in interface org.microbean.type.Owner
- hasParameters() - Method in class org.microbean.type.Type
-
Returns
falsewhen invoked sinceTypes don't have parameters (unlikeOwners representingexecutables). - hasTypeArguments() - Method in class org.microbean.type.JavaType
-
Returns
trueif and only if thisTyperepresents aParameterizedTypeby virtue of having type arguments. - hasTypeArguments() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents a parameterized type by virtue of having type arguments. - hasTypeParameters() - Method in class org.microbean.type.JavaType
-
Returns
trueif and only if thisJavaTyperepresents a genericClassby virtue of having type parameters. - hasTypeParameters() - Method in interface org.microbean.type.Owner
-
Returns
trueif and only if thisOwnerrepresents a generic class or a generic executable by virtue of having type parameters. - hasTypeParameters() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents a generic class by virtue of having type parameters.
I
- INSTANCE - Static variable in class org.microbean.type.Type.CdiSemantics
-
An instance of
Type.CdiSemantics. - INSTANCE - Static variable in class org.microbean.type.Type.CovariantSemantics
-
A convenient instance of
Type.CovariantSemantics. - INSTANCE - Static variable in class org.microbean.type.Type.InvariantSemantics
-
An instance of
Type.InvariantSemantics. - INSTANCE - Static variable in class org.microbean.type.UnboundedWildcardType
-
The sole instance of this class.
- interfaceType() - Method in class org.microbean.type.JavaType
- interfaceType() - Method in class org.microbean.type.Type
- interfaceType(Type<Type>) - Static method in class org.microbean.type.JavaType
- interfaceTypes() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- InvariantSemantics() - Constructor for class org.microbean.type.Type.InvariantSemantics
-
Creates a new
Type.InvariantSemantics. - isAnnotationPresent(Class<? extends Annotation>) - Method in class org.microbean.type.DefaultTypeVariable
- isEmpty() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- iterator() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
J
- javaType() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- javaType(boolean) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- JavaType - Class in org.microbean.type
- JavaType(boolean, Type) - Constructor for class org.microbean.type.JavaType
-
Creates a new
JavaType. - JavaType(boolean, List<?>) - Constructor for class org.microbean.type.JavaType
-
Creates a new
JavaTypethat models custom supertypes. - JavaType.Token<T> - Class in org.microbean.type
-
A holder of a
Typethat embodies Gafter's gadget. - javaTypeIterator() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- javaTypeList() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- JavaTypes - Class in org.microbean.type
-
A utility class providing useful operations related to Java
Types. - javaTypeSet() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- JavaTypeSet - Class in org.microbean.type
-
Deprecated.
- javaTypeSpliterator() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- javaTypeStream() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
L
- load(ClassLoader) - Method in class org.microbean.type.JavaType
-
Calls the
Type.object()method and returns the result. - load(ClassLoader) - Method in class org.microbean.type.Type
-
Converts this
Typeto ajava.lang.reflect.Type, loading it if necessary, possibly by using the suppliedClassLoader, and returns it. - lowerBounded() - Method in class org.microbean.type.JavaType
- lowerBounded() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents a wildcard type with a lower bound. - LowerBoundedWildcardType - Class in org.microbean.type
-
A
WildcardTypeimplementation 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. - LowerBoundedWildcardType(WildcardType) - Constructor for class org.microbean.type.LowerBoundedWildcardType
-
Creates a new
LowerBoundedWildcardType. - lowerBounds() - Method in class org.microbean.type.JavaType
-
Returns an unmodifiable
Listof thisJavaType's lower bounds. - lowerBounds() - Method in class org.microbean.type.Type
-
Returns an unmodifiable
Listof thisType's lower bounds.
M
- mostSpecialized(Predicate<? super Type<T>>) - Method in class org.microbean.type.Type
-
Returns a
Type, selected from thisType's supertypes, that is the most specialized of those supertypes and that passes the test represented by the suppliedPredicate. - mostSpecializedInterfaceType() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- mostSpecializedNonInterfaceType() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
N
- name() - Method in class org.microbean.type.JavaType
-
Returns the name of this
JavaTypeif it has one ornullif it does not. - name() - Method in interface org.microbean.type.Owner
-
Returns the name of this
Ownerif it has one ornullif it does not. - name() - Method in class org.microbean.type.Type
-
Returns the name of this
Typeif it has one ornullif it does not. - named() - Method in class org.microbean.type.JavaType
-
Returns
trueif and only if thisJavaTyperepresents a Java type that has a name. - named() - Method in interface org.microbean.type.Owner
-
Returns
trueif and only if thisOwnerrepresents either a Java type that has a name, or an executable. - named() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents a Java type that has a name. - nonGenericArrayType() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a non-generic array type. - nonInterfaceType(Type<Type>) - Static method in class org.microbean.type.JavaType
-
Returns
trueif and only if the type erasure of the suppliedType's modeled type is not an interface. - nonInterfaceTypes() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a new
JavaTypeSetcontaining only theTypes that are not interface types from thisJavaTypeSet.
O
- object() - Method in interface org.microbean.type.Owner
-
Returns the object this
Owneris modeling, ornullif that information is not supplied by the implementation. - object() - Method in class org.microbean.type.Type
-
Returns the object supplied at construction time that is the type this
Typeis representing, ornullif this information is not available, or if thisTyperepresents a collection of custom supertypes. - objectEquals(Object) - Method in class org.microbean.type.JavaType
- objectEquals(Object) - Method in interface org.microbean.type.Owner
- of() - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns an empty
JavaTypeSet. - of(boolean, Type) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(boolean, JavaType.Token<?>) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(boolean, Type<? extends Type>) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(GenericArrayType) - Static method in class org.microbean.type.DefaultGenericArrayType
-
If the supplied
GenericArrayTypeis aDefaultGenericArrayType, returns it; otherwise creates a newDefaultGenericArrayTypewith the suppliedGenericArrayType's generic component type and returns it. - of(ParameterizedType) - Static method in class org.microbean.type.DefaultParameterizedType
-
If the supplied
ParameterizedTypeis aDefaultParameterizedType, returns it; otherwise creates a newDefaultParameterizedTypewith the suppliedParameterizedType's owner type, raw type and type arguments and returns it. - of(Type) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(Type) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose sole element models the suppliedType. - of(Type...) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are modeled by the suppliedTypes. - of(Type, Type) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are modeled by the suppliedTypes. - of(TypeVariable<T>) - Static method in class org.microbean.type.DefaultTypeVariable
-
Returns a
DefaultTypeVariablerepresenting the suppliedTypeVariable. - of(WildcardType) - Static method in class org.microbean.type.LowerBoundedWildcardType
-
If the supplied
WildcardTypeis aLowerBoundedWildcardType, returns it; otherwise creates a newLowerBoundedWildcardTypewith the suppliedWildcardType's upper bounds and lower bounds and returns it. - of(WildcardType) - Static method in class org.microbean.type.UpperBoundedWildcardType
-
If the supplied
WildcardTypeis aUpperBoundedWildcardType, returns it; otherwise creates a newUpperBoundedWildcardTypewith the suppliedWildcardType's upper bounds and returns it. - of(Collection<?>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are drawn from the suppliedCollection, in its iteration order. - of(JavaType.Token<?>) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(Type<? extends Type>) - Static method in class org.microbean.type.JavaType
-
Returns a
JavaTypesuitable for the supplied arguments. - of(Type<? extends Type>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose sole element is the suppliedType. - of(Type<? extends Type>...) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are modeled by the suppliedTypes. - of(Type<? extends Type>, Type<? extends Type>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are the suppliedTypes. - ofExactly(boolean, Object...) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(boolean, Type) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(boolean, List<?>) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(boolean, JavaType.Token<?>) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(Object...) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(Type) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(List<?>) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofExactly(JavaType.Token<?>) - Static method in class org.microbean.type.JavaType
-
Returns a custom supertyped
JavaTypesuitable for the supplied arguments. - ofSupertypes(Type) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are the supertypes of the suppliedType(which include the suppliedTypeitself). - ofSupertypes(Type, Predicate<? super Type>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are the supertypes of the suppliedType(which include the suppliedTypeitself), gated by the suppliedPredicate. - ofSupertypes(Type<? extends Type>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are the supertypes of theTypemodeled by the suppliedType(which include the modeledTypeitself). - ofSupertypes(Type<? extends Type>, Predicate<? super Type>) - Static method in class org.microbean.type.JavaTypeSet
-
Deprecated.Returns a
JavaTypeSetwhose elements are the supertypes of theTypemodeled by the suppliedType(which include the modeledTypeitself). - org.microbean.type - module org.microbean.type
-
Provides packages related to type systems.
- org.microbean.type - package org.microbean.type
-
Provides classes and interfaces related to Java
Typeinstances. - owner() - Method in class org.microbean.type.JavaType
- owner() - Method in interface org.microbean.type.Owner
- owner() - Method in class org.microbean.type.Type
- Owner<T> - Interface in org.microbean.type
-
An interface whose implementations skeletally represent a Java type or a Java executable for equality comparison purposes and no other.
P
- parameterizedType() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a parameterized type. - parameterizedTypeIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CdiSemantics
- parameterizedTypeIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- parameterizedTypeIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverParameterizedType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverParameterizedTypemodels a parameterized type and not any other type. - parameterizedTypeIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverParameterizedType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a Java generic array type and not any other type, and if and only ifreceiverParameterizedTypemodels a parameterized type and not any other type. - parameterizedTypeIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CdiSemantics
- parameterizedTypeIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- parameterizedTypeIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadParameterizedTypeis assignable to a reference bearing the type modeled by the suppliedreceiverParameterizedType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadParameterizedTypemodels a Java parameterized type and not any other type, and if and only ifreceiverParameterizedTypemodels a parameterized type and not any other type. - parameterizedTypeIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- parameterizedTypeIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeVariableis assignable to a reference bearing the type modeled by the suppliedreceiverParameterizedType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadTypeVariablemodels a Java type variable and not any other type, and if and only ifreceiverParameterizedTypemodels a parameterized type and not any other type. - parameterizedTypeIsAssignableFromWildcardType(Type<X>, Type<Y>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadWildcardTypeis assignable to a reference bearing the type modeled by the suppliedreceiverParameterizedType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadWildcardTypemodels a Java wildcard type and not any other type, and if and only ifreceiverParameterizedTypemodels a parameterized type and not any other type. - parameters() - Method in interface org.microbean.type.Owner
-
Returns an unmodifiable
Listof thisOwner's parameters, if thisOwnerrepresents an executable, ornullif it does not. - parameters() - Method in class org.microbean.type.Type
-
Returns
nullwhen invoked sinceTypes don't have parameters (unlikeOwners representingexecutables).
R
- remove(Object) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked. - removeAll(Collection<?>) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked. - retainAll(Collection<?>) - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.Throws an
UnsupportedOperationExceptionwhen invoked.
S
- Semantics() - Constructor for class org.microbean.type.Type.Semantics
-
Creates a new
Type.Semantics. - size() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- spliterator() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- stream() - Method in class org.microbean.type.JavaTypeSet
-
Deprecated.
- subtypeOf(Type<?>) - Method in class org.microbean.type.Type
- supertype(Type, Type) - Static method in class org.microbean.type.JavaTypes
-
Returns
trueif and only ifsupis a supertype ofsub. - supertype(Type, Type, Predicate<? super Type>) - Static method in class org.microbean.type.JavaTypes
-
Returns
trueif and only ifsupis a supertype ofsub. - supertypeOf(Type<?>) - Method in class org.microbean.type.Type
- supertypes() - Method in class org.microbean.type.Type
- supertypes(Type) - Static method in class org.microbean.type.JavaTypes
-
Returns the supertypes of the supplied
Type, provided that it is either aClass, aParameterizedType, aGenericArrayTypeor aTypeVariable. - supertypes(Type, Predicate<? super Type>) - Static method in class org.microbean.type.JavaTypes
-
Returns the supertypes of the supplied
Type, provided that it is either aClass, aParameterizedType, aGenericArrayTypeor aTypeVariable.
T
- Token() - Constructor for class org.microbean.type.JavaType.Token
-
Creates a new
JavaType.Token. - top() - Method in class org.microbean.type.JavaType
- top() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents the uppermost reference type in the type system. - toString() - Method in class org.microbean.type.LowerBoundedWildcardType
- toString() - Method in class org.microbean.type.DefaultGenericArrayType
- toString() - Method in class org.microbean.type.DefaultParameterizedType
- toString() - Method in class org.microbean.type.DefaultTypeVariable
- toString() - Method in class org.microbean.type.JavaType.Token
-
Returns a
Stringrepresentation of thisJavaType.Token. - toString(Type) - Static method in class org.microbean.type.JavaTypes
- type() - Method in class org.microbean.type.JavaType.Token
-
Returns the
Typemodeled by thisJavaType.Token. - type() - Method in class org.microbean.type.JavaType
-
If this
JavaTyperepresents aParameterizedTypeor aGenericArrayTypereturns aJavaTyperepresenting its raw type or generic component type, or, if thisJavaTypedoes not represent aParameterizedTypeor aGenericArrayType, returnsthis. - type() - Method in interface org.microbean.type.Owner
-
If this
Ownerrepresents a parameterized type or a generic array type, returns aTyperepresenting its raw type or generic component type, or, if thisOwnerrepresents an constructor, returns aTyperepresentingvoidorVoid, or, if thisOwnerrepresents a method, returns aTyperepresenting its generic return type, or returnsthis(theOwnerin this case will be known to be aType). - type() - Method in class org.microbean.type.Type
- Type<T> - Class in org.microbean.type
-
A value-like object representing a (Java-like) type for purposes of testing assignability.
- Type(List<? extends Type<T>>) - Constructor for class org.microbean.type.Type
-
Creates a new
Typethat models custom supertypes. - Type(T) - Constructor for class org.microbean.type.Type
-
Creates a new
Type. - Type.CdiSemantics - Class in org.microbean.type
-
A
Type.VariantSemanticsimplementation that implements the rules of typesafe resolution. - Type.CovariantSemantics - Class in org.microbean.type
-
A
Type.VariantSemanticsimplementation that implements Java type assignability semantics, which are covariant. - Type.InvariantSemantics - Class in org.microbean.type
-
A
Type.VariantSemanticsimplementation that does not permit subtyping, but that compares wildcard types covariantly. - Type.Semantics - Class in org.microbean.type
-
An abstract embodiment of
Typeassignability rules. - Type.VariantSemantics - Class in org.microbean.type
-
An abstract partial
Type.Semanticsthat permits subtyping. - typeArguments() - Method in class org.microbean.type.JavaType
-
Returns an unmodifiable
Listof thisJavaType's type arguments. - typeArguments() - Method in class org.microbean.type.Type
-
Returns an unmodifiable
Listof thisType's type arguments. - typeParameters() - Method in class org.microbean.type.JavaType
-
Returns an unmodifiable
Listof thisJavaType's type parameters. - typeParameters() - Method in interface org.microbean.type.Owner
-
Returns an unmodifiable
Listof thisOwner's type parameters. - typeParameters() - Method in class org.microbean.type.Type
-
Returns an unmodifiable
Listof thisType's type parameters. - typeVariable() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a type variable. - typeVariableIsAssignableFromClass(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverTypeVariable, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverTypeVariablemodels a type variable and not any other type. - typeVariableIsAssignableFromGenericArrayType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverTypeVariable, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a Java generic array type and not any other type, and if and only ifreceiverTypeVariablemodels a type variable and not any other type. - typeVariableIsAssignableFromParameterizedType(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadParameterizedTypeis assignable to a reference bearing the type modeled by the suppliedreceiverTypeVariable, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadParameterizedTypemodels a Java parameterized type and not any other type, and if and only ifreceiverTypeVariablemodels a type variable and not any other type. - typeVariableIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- typeVariableIsAssignableFromTypeVariable(Type<X>, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeVariableis assignable to a reference bearing the type modeled by the suppliedreceiverTypeVariable, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadTypeVariablemodels a Java type variable and not any other type, and if and only ifreceiverTypeVariablemodels a type variable and not any other type. - typeVariableIsAssignableFromWildcardType(Type<X>, Type<Y>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadWildcardTypeis assignable to a reference bearing the type modeled by the suppliedreceiverTypeVariable, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadWildcardTypemodels a Java wildcard type and not any other type, and if and only ifreceiverTypeVariablemodels a type variable and not any other type.
U
- UnboundedWildcardType - Class in org.microbean.type
- upperBounded() - Method in class org.microbean.type.JavaType
- upperBounded() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTyperepresents either a type variable or a wildcard type. - UpperBoundedWildcardType - Class in org.microbean.type
-
A
WildcardTypeimplementation 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. - UpperBoundedWildcardType(WildcardType) - Constructor for class org.microbean.type.UpperBoundedWildcardType
-
Creates a new
UpperBoundedWildcardType. - upperBounds() - Method in class org.microbean.type.JavaType
-
Returns an unmodifiable
Listof thisJavaType's upper bounds. - upperBounds() - Method in class org.microbean.type.Type
-
Returns an unmodifiable
Listof thisType's upper bounds.
V
- VariantSemantics() - Constructor for class org.microbean.type.Type.VariantSemantics
-
Creates a new
Type.VariantSemantics.
W
- wildcard() - Method in class org.microbean.type.Type
-
Returns
trueif and only if thisTypemodels a wildcard type. - wildcardTypeIsAssignableFromClass(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- wildcardTypeIsAssignableFromClass(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadClassis assignable to a reference bearing the type modeled by the suppliedreceiverWildcardType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadClassmodels a Java class and not any other type, and if and only ifreceiverWildcardTypemodels a wildcard type and not any other type. - wildcardTypeIsAssignableFromGenericArrayType(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- wildcardTypeIsAssignableFromGenericArrayType(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadGenericArrayTypeis assignable to a reference bearing the type modeled by the suppliedreceiverWildcardType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadGenericArrayTypemodels a Java generic array type and not any other type, and if and only ifreceiverWildcardTypemodels a wildcard type and not any other type. - wildcardTypeIsAssignableFromParameterizedType(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- wildcardTypeIsAssignableFromParameterizedType(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadParameterizedTypeis assignable to a reference bearing the type modeled by the suppliedreceiverWildcardType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadParameterizedTypemodels a Java parameterized type and not any other type, and if and only ifreceiverWildcardTypemodels a wildcard type and not any other type. - wildcardTypeIsAssignableFromTypeVariable(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.CovariantSemantics
- wildcardTypeIsAssignableFromTypeVariable(Type<X>, boolean, Type<Y>) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadTypeVariableis assignable to a reference bearing the type modeled by the suppliedreceiverWildcardType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadTypeVariablemodels a Java type variable and not any other type, and if and only ifreceiverWildcardTypemodels a wildcard type and not any other type. - wildcardTypeIsAssignableFromWildcardType(Type<X>, boolean, Type<Y>, boolean) - Method in class org.microbean.type.Type.CovariantSemantics
- wildcardTypeIsAssignableFromWildcardType(Type<X>, boolean, Type<Y>, boolean) - Method in class org.microbean.type.Type.Semantics
-
Returns
trueif and only if a reference bearing the type modeled by the suppliedpayloadWildcardTypeis assignable to a reference bearing the type modeled by the suppliedreceiverWildcardType, according to the assignability rules modeled by thisType.Semanticsinstance, and if and only ifpayloadWildcardTypemodels a Java wildcard type and not any other type, and if and only ifreceiverWildcardTypemodels a wildcard type and not any other type. - withBox(boolean) - Method in class org.microbean.type.JavaType
-
Returns a
JavaType, usually new, whose boxing strategy is modeled by the suppliedboolean. - withObject(Type) - Method in class org.microbean.type.JavaType
- withObject(T) - Method in class org.microbean.type.Type
All Classes and Interfaces|All Packages
Typeinstances can can be compared for equality, there is not much call for this class.