test_class.file: api/src/test/java/net/adamcin/oakpal/api/SimpleProgressCheckTest.java
test_class.identifier: SimpleProgressCheckTest
test_case.body: @Test
      public void testSetResourceBundle() {
          final SimpleProgressCheck check = new SimpleProgressCheck();
  
          ResourceBundle originalBundle = check.getResourceBundle();
          assertSame("same object returned twice", originalBundle, check.getResourceBundle());
          ResourceBundle newBundle = ResourceBundle.getBundle(check.getResourceBundleBaseName(),
                  Locale.getDefault(), new URLClassLoader(new URL[0], getClass().getClassLoader()));
          assertNotSame("not same object as created externally", newBundle, check.getResourceBundle());
          check.setResourceBundle(newBundle);
          assertSame("same object as set", newBundle, check.getResourceBundle());
          assertSame("same object as set, again", newBundle, check.getResourceBundle());
      }
test_case.class_method_signature: SimpleProgressCheckTest.testSetResourceBundle()
test_case.full_signature: @Test public void testSetResourceBundle()
test_case.identifier: testSetResourceBundle
test_case.invocations: getResourceBundle assertSame getResourceBundle getBundle getResourceBundleBaseName getDefault getClassLoader getClass assertNotSame getResourceBundle setResourceBundle assertSame getResourceBundle assertSame getResourceBundle
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetResourceBundle()
focal_class.declarator: collector = new ReportCollector()
focal_class.modifier: protected final
focal_class.original_string: protected final ReportCollector collector = new ReportCollector();
focal_class.type: ReportCollector
focal_class.var_name: collector
focal_class.declarator: resourceBundle
focal_class.modifier: private
focal_class.original_string: private ResourceBundle resourceBundle;
focal_class.type: ResourceBundle
focal_class.var_name: resourceBundle
focal_class.file: api/src/main/java/net/adamcin/oakpal/api/SimpleProgressCheck.java
focal_class.identifier: SimpleProgressCheck
focal_class.interfaces: implements ProgressCheck
focal_class.class_method_signature: SimpleProgressCheck.setResourceBundle(final ResourceBundle resourceBundle)
focal_class.full_signature: @Override public void setResourceBundle(final ResourceBundle resourceBundle)
focal_class.identifier: setResourceBundle
focal_class.modifiers: @Override public
focal_class.parameters: (final ResourceBundle resourceBundle)
focal_class.return: void
focal_class.signature: void setResourceBundle(final ResourceBundle resourceBundle)
focal_class.class_method_signature: SimpleProgressCheck.getResourceBundle()
focal_class.full_signature: @Nullable protected ResourceBundle getResourceBundle()
focal_class.identifier: getResourceBundle
focal_class.modifiers: @Nullable protected
focal_class.parameters: ()
focal_class.return: ResourceBundle
focal_class.signature: ResourceBundle getResourceBundle()
focal_class.class_method_signature: SimpleProgressCheck.getString(@NotNull final String key)
focal_class.full_signature: @NotNull protected String getString(@NotNull final String key)
focal_class.identifier: getString
focal_class.modifiers: @NotNull protected
focal_class.parameters: (@NotNull final String key)
focal_class.return: String
focal_class.signature: String getString(@NotNull final String key)
focal_class.class_method_signature: SimpleProgressCheck.reportViolation(final Violation violation)
focal_class.full_signature: protected void reportViolation(final Violation violation)
focal_class.identifier: reportViolation
focal_class.modifiers: protected
focal_class.parameters: (final Violation violation)
focal_class.return: void
focal_class.signature: void reportViolation(final Violation violation)
focal_class.class_method_signature: SimpleProgressCheck.reporting(@NotNull final Consumer<SimpleViolation.Builder> customizer)
focal_class.full_signature: protected final void reporting(@NotNull final Consumer<SimpleViolation.Builder> customizer)
focal_class.identifier: reporting
focal_class.modifiers: protected final
focal_class.parameters: (@NotNull final Consumer<SimpleViolation.Builder> customizer)
focal_class.return: void
focal_class.signature: void reporting(@NotNull final Consumer<SimpleViolation.Builder> customizer)
focal_class.class_method_signature: SimpleProgressCheck.reportViolation(final Severity severity,
                                           final String description,
                                           final PackageId... packages)
focal_class.full_signature: protected final void reportViolation(final Severity severity,
                                           final String description,
                                           final PackageId... packages)
focal_class.identifier: reportViolation
focal_class.modifiers: protected final
focal_class.parameters: (final Severity severity,
                                           final String description,
                                           final PackageId... packages)
focal_class.return: void
focal_class.signature: void reportViolation(final Severity severity,
                                           final String description,
                                           final PackageId... packages)
focal_class.class_method_signature: SimpleProgressCheck.minorViolation(final String description, final PackageId... packages)
focal_class.full_signature: protected final void minorViolation(final String description, final PackageId... packages)
focal_class.identifier: minorViolation
focal_class.modifiers: protected final
focal_class.parameters: (final String description, final PackageId... packages)
focal_class.return: void
focal_class.signature: void minorViolation(final String description, final PackageId... packages)
focal_class.class_method_signature: SimpleProgressCheck.majorViolation(final String description, final PackageId... packages)
focal_class.full_signature: protected final void majorViolation(final String description, final PackageId... packages)
focal_class.identifier: majorViolation
focal_class.modifiers: protected final
focal_class.parameters: (final String description, final PackageId... packages)
focal_class.return: void
focal_class.signature: void majorViolation(final String description, final PackageId... packages)
focal_class.class_method_signature: SimpleProgressCheck.severeViolation(final String description, final PackageId... packages)
focal_class.full_signature: protected final void severeViolation(final String description, final PackageId... packages)
focal_class.identifier: severeViolation
focal_class.modifiers: protected final
focal_class.parameters: (final String description, final PackageId... packages)
focal_class.return: void
focal_class.signature: void severeViolation(final String description, final PackageId... packages)
focal_class.class_method_signature: SimpleProgressCheck.startedScan()
focal_class.full_signature: @Override public void startedScan()
focal_class.identifier: startedScan
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startedScan()
focal_class.class_method_signature: SimpleProgressCheck.getReportedViolations()
focal_class.full_signature: @Override public Collection<Violation> getReportedViolations()
focal_class.identifier: getReportedViolations
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<Violation>
focal_class.signature: Collection<Violation> getReportedViolations()
focal_method.body: @Override
      public void setResourceBundle(final ResourceBundle resourceBundle) {
          this.resourceBundle = resourceBundle;
      }
focal_method.class_method_signature: SimpleProgressCheck.setResourceBundle(final ResourceBundle resourceBundle)
focal_method.full_signature: @Override public void setResourceBundle(final ResourceBundle resourceBundle)
focal_method.identifier: setResourceBundle
focal_method.modifiers: @Override public
focal_method.parameters: (final ResourceBundle resourceBundle)
focal_method.return: void
focal_method.signature: void setResourceBundle(final ResourceBundle resourceBundle)