Class IsCompilerOnlyConstruction

java.lang.Object
org.ek9lang.compiler.phase7.support.IsCompilerOnlyConstruction
All Implemented Interfaces:
BiPredicate<String,String>

public final class IsCompilerOnlyConstruction extends Object implements BiPredicate<String,String>
THE test for a constructor of a type that only the compiler may create - Panic.<init> (Steve, decision 10, 2026-10-05; one of the three kinds of CompilerPlumbingCalls). The type is EK9 surface, its construction is not: its constructors carry no @Ek9Constructor.
  • Constructor Details

    • IsCompilerOnlyConstruction

      public IsCompilerOnlyConstruction()
  • Method Details

    • test

      public boolean test(String targetTypeName, String methodName)
      A constructor of a type that only the compiler may create - Panic.<init>.
      Specified by:
      test in interface BiPredicate<String,String>
      Parameters:
      targetTypeName - the FQN of the type the call is made on (nullable for a static call)
      methodName - the method being called
      Returns:
      true for a constructor of a compiler-only type