Details
-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
None
Description
The (Internal)FactHandle interface exposes a generic method
public Object getObject()
It should expose another method that wraps an internal cast
public <K> K as( Class<K> klass ) throws CCE
The method will perform the necessary type checks.
The method will also work with traits, returning a proxy that
implements the appropriate interface