Class PrimitiveAssignability
java.lang.Object
com.ibm.wala.core.util.PrimitiveAssignability
Offers checks like ClassHierarchy.isAssignable but for primitives.
This Class does not consider Boxing / Unboxing
- Since:
- 2013-11-21
- Author:
- Tobias Blaschke <code@tobiasblaschke.de>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAssignableFrom
(TypeName from, TypeName to) Is information lost on c1 x := c2 y?static boolean
isAssignableFrom
(TypeName from, TypeName to) Does an expression c1 x := c2 y typecheck?
-
Constructor Details
-
PrimitiveAssignability
public PrimitiveAssignability()
-
-
Method Details
-
getAssignableFrom
public static PrimitiveAssignability.AssignabilityKind getAssignableFrom(TypeName from, TypeName to) Is information lost on c1 x := c2 y? -
isAssignableFrom
-