public class TypeChecker extends Object
| Constructor and Description |
|---|
TypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRawTypeSafe(Type requiredType,
Type beanType)
Returns true if the given requiredType is safely assignable
from the given beanType.
|
public static boolean isRawTypeSafe(Type requiredType, Type beanType)
requiredType = beanType
without any castrequiredType - The type being assigned intobeanType - the type being assignedCopyright © 2009-2014 Oracle Corporation. All Rights Reserved.