Class Defaults

java.lang.Object
org.jboss.weld.util.Defaults

public final class Defaults extends Object
Author:
Martin Kouba
  • Method Details

    • 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