Class CoverageNameResolution

java.lang.Object
org.ek9lang.compiler.phase7.generator.CoverageNameResolution
All Implemented Interfaces:
BiFunction<ISymbol,Boolean,String>

final class CoverageNameResolution extends Object implements BiFunction<ISymbol,Boolean,String>
THE coverage name of a function/method symbol, before the display-only transform - the one resolution both CoverageDisplayName (bareConstructor true) and CoverageIdentity (bareConstructor false) give; the class javadoc of CoverageDisplayName has the four cases.
  • Constructor Details

    • CoverageNameResolution

      CoverageNameResolution()
  • Method Details

    • apply

      public String apply(ISymbol operationSymbol, Boolean bareConstructor)
      The name of operationSymbol.
      Specified by:
      apply in interface BiFunction<ISymbol,Boolean,String>
      Parameters:
      operationSymbol - the symbol whose name is needed; must not be null
      bareConstructor - true for the display form (a constructor bare, an application's _prepare named for what it does), false for the join key