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