Class TestSources

java.lang.Object
de.sormuras.bach.project.TestSources
All Implemented Interfaces:
Realm<TestSources>

public final class TestSources
extends Object
implements Realm<TestSources>
Source set of test modules.
  • Constructor Details

  • Method Details

    • units

      public SourceUnitMap units()
      Description copied from interface: Realm
      Return the underlying map of modular source units.
      Specified by:
      units in interface Realm<TestSources>
      Returns:
      A SourceUnitMap instance
    • name

      public String name()
      Description copied from interface: Realm
      Return the name of the realm.
      Specified by:
      name in interface Realm<TestSources>
      Returns:
      An empty string for the main realm, else a non-empty name string
    • of

      public static TestSources of()
    • units

      public TestSources units​(SourceUnitMap units)
      Description copied from interface: Realm
      Create a new copy instance with setting the given modular source units map.
      Specified by:
      units in interface Realm<TestSources>
      Parameters:
      units - The modular source unit map to set
      Returns:
      A new copy instance