Methods
| Modifier and Type |
Method and Description |
static boolean |
areEquivalent(Type<?> class1,
Type<?> class2) |
static boolean |
areEquivalent(TypeList types1,
TypeList types2) |
static boolean |
areEquivalentWithOrdering(TypeList types1,
TypeList types2) |
static boolean |
areReferenceAssignable(Type<?> destination,
Type<?> source) |
static Type<?> |
getBoxedType(Type<?> type) |
static Type<?> |
getBoxedTypeOrSelf(Type<?> type) |
static MethodInfo |
getBoxMethod(Type<?> type) |
static MethodInfo |
getCoercionMethod(Type<?> source,
Type<?> destination) |
static MethodInfo |
getUnboxMethod(Type<?> type) |
static Type<?> |
getUnderlyingPrimitive(Type<?> type) |
static Type<?> |
getUnderlyingPrimitiveOrSelf(Type<?> type) |
static boolean |
hasBuiltInEqualityOperator(Type<?> left,
Type<?> right) |
static boolean |
hasIdentityPrimitiveOrBoxingConversion(Type<?> source,
Type<?> destination) |
static boolean |
hasReferenceConversion(Type<?> source,
Type<?> destination) |
static boolean |
hasReferenceEquality(Type<?> left,
Type<?> right) |
static boolean |
isArithmetic(Type<?> type) |
static boolean |
isAutoUnboxed(Type<?> type) |
static boolean |
isBoolean(Type<?> type) |
static boolean |
isImplicitNumericConversion(Type<?> sourceType,
Type<?> targetType) |
static boolean |
isIntegral(Type<?> type) |
static boolean |
isIntegralOrBoolean(Type<?> type) |
static boolean |
isNumeric(Type<?> type) |
static boolean |
isSameOrSubType(Type<?> type,
Type<?> subType) |
static boolean |
isValidInvocationTargetType(MethodInfo method,
Type<?> targetType) |