Class Overview
Utility to work with Java 5 generic type parameters.
Mainly for internal use within the framework.
Summary
Public Methods |
static
boolean
|
isAssignable(Type lhsType, Type rhsType)
Check if the right-hand side type may be assigned to the left-hand side
type following the Java generics rules.
|
static
boolean
|
isAssignableBound(Type lhsType, Type rhsType)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
boolean
isAssignable
(Type lhsType, Type rhsType)
Check if the right-hand side type may be assigned to the left-hand side
type following the Java generics rules.
Parameters
lhsType
| the target type |
rhsType
| the value type that should be assigned to the target type |
Returns
- true if rhs is assignable to lhs
public
static
boolean
isAssignableBound
(Type lhsType, Type rhsType)