Package org.jboss.weld.util
Class Defaults
- java.lang.Object
-
- org.jboss.weld.util.Defaults
-
public final class Defaults extends Object
- Author:
- Martin Kouba
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
getJlsDefaultValue(Class<T> type)
See also JLS8, 4.12.5 Initial Values of Variables.
-
-
-
Method Detail
-
getJlsDefaultValue
public static <T> T getJlsDefaultValue(Class<T> type)
See also JLS8, 4.12.5 Initial Values of Variables.- Parameters:
type
-- Returns:
- the default value for the given type as defined by JLS
-
-