Uses of Class
org.microbean.type.TypeSemantics
-
Uses of TypeSemantics in org.microbean.type
Subclasses of TypeSemantics in org.microbean.type Modifier and Type Class Description class
CovariantTypeSemantics
ATypeSemantics
specialization that implements the Java Language Specification type assignability rules.class
InvariantTypeSemantics
An abstractTypeSemantics
that, in general, comparesType
s using invariant semantics.Methods in org.microbean.type that return TypeSemantics Modifier and Type Method Description TypeSemantics
CovariantTypeSemantics. getInvariantTypeSemantics()
Returns aTypeSemantics
used for certain cases where invariant type assignability semantics are called for, such as when comparingParameterizedType
type arguments.protected TypeSemantics
TypeSemantics. getSemanticsFor(Type receiverType, Type payloadType)
Returns theTypeSemantics
instance to use when testing if objects bearing the suppliedpayloadType
are assignable to references bearing the suppliedreceiverType
.