test_class.declarator: LOG = LoggerFactory.getLogger(SystemPropertySupplierTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(SystemPropertySupplierTest.class);
test_class.type: Logger
test_class.var_name: LOG
test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/util/SystemPropertySupplierTest.java
test_class.identifier: SystemPropertySupplierTest
test_case.body: @Test
      public void testUnsupportedType() {
          try {
              SystemPropertySupplier.create("foo", new Object());
          } catch (IllegalArgumentException expected) {
          }
      }
test_case.class_method_signature: SystemPropertySupplierTest.testUnsupportedType()
test_case.full_signature: @Test public void testUnsupportedType()
test_case.identifier: testUnsupportedType
test_case.invocations: create
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUnsupportedType()
focal_class.declarator: LOG = LoggerFactory.getLogger(SystemPropertySupplier.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(SystemPropertySupplier.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: propName
focal_class.modifier: private final
focal_class.original_string: private final String propName;
focal_class.type: String
focal_class.var_name: propName
focal_class.declarator: defaultValue
focal_class.modifier: private final
focal_class.original_string: private final T defaultValue;
focal_class.type: T
focal_class.var_name: defaultValue
focal_class.declarator: parser
focal_class.modifier: private final
focal_class.original_string: private final Function<String, T> parser;
focal_class.type: Function<String, T>
focal_class.var_name: parser
focal_class.declarator: log = LOG
focal_class.modifier: private
focal_class.original_string: private Logger log = LOG;
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: successLogLevel = Level.INFO
focal_class.modifier: private
focal_class.original_string: private Level successLogLevel = Level.INFO;
focal_class.type: Level
focal_class.var_name: successLogLevel
focal_class.declarator: validator = (a) -> true
focal_class.modifier: private
focal_class.original_string: private Predicate<T> validator = (a) -> true;
focal_class.type: Predicate<T>
focal_class.var_name: validator
focal_class.declarator: sysPropReader = System::getProperty
focal_class.modifier: private
focal_class.original_string: private Function<String, String> sysPropReader = System::getProperty;
focal_class.type: Function<String, String>
focal_class.var_name: sysPropReader
focal_class.declarator: setMessageFormatter = (a, b) -> {
          return String.format("System property %s found to be '%s'", a, b);
      }
focal_class.modifier: private
focal_class.original_string: private BiFunction<String, T, String> setMessageFormatter = (a, b) -> {
          return String.format("System property %s found to be '%s'", a, b);
      };
focal_class.type: BiFunction<String, T, String>
focal_class.var_name: setMessageFormatter
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/util/SystemPropertySupplier.java
focal_class.identifier: SystemPropertySupplier
focal_class.interfaces: implements Supplier<T>
focal_class.class_method_signature: SystemPropertySupplier.SystemPropertySupplier(@NotNull String propName, @NotNull T defaultValue)
focal_class.full_signature: private  SystemPropertySupplier(@NotNull String propName, @NotNull T defaultValue)
focal_class.identifier: SystemPropertySupplier
focal_class.modifiers: private
focal_class.parameters: (@NotNull String propName, @NotNull T defaultValue)
focal_class.signature:  SystemPropertySupplier(@NotNull String propName, @NotNull T defaultValue)
focal_class.class_method_signature: SystemPropertySupplier.create(@NotNull String propName, @NotNull U defaultValue)
focal_class.full_signature: public static SystemPropertySupplier<U> create(@NotNull String propName, @NotNull U defaultValue)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (@NotNull String propName, @NotNull U defaultValue)
focal_class.return: SystemPropertySupplier<U>
focal_class.signature: SystemPropertySupplier<U> create(@NotNull String propName, @NotNull U defaultValue)
focal_class.class_method_signature: SystemPropertySupplier.loggingTo(@NotNull Logger log)
focal_class.full_signature: public SystemPropertySupplier<T> loggingTo(@NotNull Logger log)
focal_class.identifier: loggingTo
focal_class.modifiers: public
focal_class.parameters: (@NotNull Logger log)
focal_class.return: SystemPropertySupplier<T>
focal_class.signature: SystemPropertySupplier<T> loggingTo(@NotNull Logger log)
focal_class.class_method_signature: SystemPropertySupplier.validateWith(@NotNull Predicate<T> validator)
focal_class.full_signature: public SystemPropertySupplier<T> validateWith(@NotNull Predicate<T> validator)
focal_class.identifier: validateWith
focal_class.modifiers: public
focal_class.parameters: (@NotNull Predicate<T> validator)
focal_class.return: SystemPropertySupplier<T>
focal_class.signature: SystemPropertySupplier<T> validateWith(@NotNull Predicate<T> validator)
focal_class.class_method_signature: SystemPropertySupplier.formatSetMessage(@NotNull BiFunction<String, T, String> setMessageFormatter)
focal_class.full_signature: public SystemPropertySupplier<T> formatSetMessage(@NotNull BiFunction<String, T, String> setMessageFormatter)
focal_class.identifier: formatSetMessage
focal_class.modifiers: public
focal_class.parameters: (@NotNull BiFunction<String, T, String> setMessageFormatter)
focal_class.return: SystemPropertySupplier<T>
focal_class.signature: SystemPropertySupplier<T> formatSetMessage(@NotNull BiFunction<String, T, String> setMessageFormatter)
focal_class.class_method_signature: SystemPropertySupplier.logSuccessAs(Level successLogLevel)
focal_class.full_signature: public SystemPropertySupplier<T> logSuccessAs(Level successLogLevel)
focal_class.identifier: logSuccessAs
focal_class.modifiers: public
focal_class.parameters: (Level successLogLevel)
focal_class.return: SystemPropertySupplier<T>
focal_class.signature: SystemPropertySupplier<T> logSuccessAs(Level successLogLevel)
focal_class.class_method_signature: SystemPropertySupplier.usingSystemPropertyReader(@NotNull Function<String, String> sysPropReader)
focal_class.full_signature: protected SystemPropertySupplier<T> usingSystemPropertyReader(@NotNull Function<String, String> sysPropReader)
focal_class.identifier: usingSystemPropertyReader
focal_class.modifiers: protected
focal_class.parameters: (@NotNull Function<String, String> sysPropReader)
focal_class.return: SystemPropertySupplier<T>
focal_class.signature: SystemPropertySupplier<T> usingSystemPropertyReader(@NotNull Function<String, String> sysPropReader)
focal_class.class_method_signature: SystemPropertySupplier.get()
focal_class.full_signature: public T get()
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T get()
focal_class.class_method_signature: SystemPropertySupplier.getValueParser(T defaultValue)
focal_class.full_signature: @SuppressWarnings("unchecked") private static Function<String, T> getValueParser(T defaultValue)
focal_class.identifier: getValueParser
focal_class.modifiers: @SuppressWarnings("unchecked") private static
focal_class.parameters: (T defaultValue)
focal_class.return: Function<String, T>
focal_class.signature: Function<String, T> getValueParser(T defaultValue)
focal_method.body: public static <U> SystemPropertySupplier<U> create(@NotNull String propName, @NotNull U defaultValue)
              throws IllegalArgumentException {
          return new SystemPropertySupplier<U>(propName, defaultValue);
      }
focal_method.class_method_signature: SystemPropertySupplier.create(@NotNull String propName, @NotNull U defaultValue)
focal_method.full_signature: public static SystemPropertySupplier<U> create(@NotNull String propName, @NotNull U defaultValue)
focal_method.identifier: create
focal_method.modifiers: public static
focal_method.parameters: (@NotNull String propName, @NotNull U defaultValue)
focal_method.return: SystemPropertySupplier<U>
focal_method.signature: SystemPropertySupplier<U> create(@NotNull String propName, @NotNull U defaultValue)