Interface PojoCaster<T>
- All Known Implementing Classes:
JavaClassPojoCaster
public interface PojoCaster<T>
-
Method Summary
-
Method Details
-
cast
- Parameters:
object
- the object to cast- Returns:
- the cast object
- Throws:
RuntimeException
- If the object could not be cast
-
castOrNull
- Parameters:
object
- the object to cast- Returns:
- the cast object, or
null
if the object could not be cast
-