pl.touk.nussknacker.engine.api.typed
This method checks if givenType
can by subclass of superclassCandidate
It will return true if givenType
is equals to superclassCandidate
or givenType
"extends" superclassCandidate
(Since version ) see corresponding Javadoc for more information.
This class determine if type can be subclass of other type. It basically based on fact that TypingResults are sets of possible supertypes with some additional restrictions (like TypedObjectTypingResult).
This class, like CommonSupertypeFinder is in spirit of "Be type safety as much as possible, but also provide some helpful conversion for types not in the same jvm class hierarchy like boxed Integer to boxed Long and so on". WARNING: Evaluation of SpEL expressions fit into this spirit, for other language evaluation engines you need to provide such a compatibility.