Class RequireThisCheck.CompactCompilationUnitFrame

Enclosing class:
RequireThisCheck

private static class RequireThisCheck.CompactCompilationUnitFrame extends RequireThisCheck.ClassFrame
A frame for the implicit class of a compact source file (JEP 512). The class is unnamed in source code, so a reference to one of its members from a nested class cannot be qualified with <ClassName>.this and is not flagged, the same way references to anonymous class members are skipped.
Since:
3.4
  • Constructor Details

    • CompactCompilationUnitFrame

      CompactCompilationUnitFrame(RequireThisCheck.AbstractFrame parent, DetailAST ident)
      Creates compact compilation unit frame.
      Parameters:
      parent - parent frame.
      ident - frame name ident.