Package io.pebbletemplates.pebble.utils
Class TypeUtils
- java.lang.Object
-
- io.pebbletemplates.pebble.utils.TypeUtils
-
public class TypeUtils extends java.lang.Object
A small utility class to handle type operation.
-
-
Constructor Summary
Constructors Constructor Description TypeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object[]
compatibleCast(java.lang.Object[] argumentValues, java.lang.Class<?>[] parameterTypes)
static <T> T
compatibleCast(java.lang.Object value, java.lang.Class<T> type)
-