Class FunctionOverridesOrError

All Implemented Interfaces:
Consumer<FunctionSymbol>

final class FunctionOverridesOrError extends TypedSymbolAccess implements Consumer<FunctionSymbol>
Checks that the function correctly overrides the signature if it has a super.
  • Constructor Details

    • FunctionOverridesOrError

      FunctionOverridesOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
      Create a new function to check overriding of super (method parameters and covariance returns).
  • Method Details