Interface CodeContribution

All Known Implementing Classes:
DefaultCodeContribution

public interface CodeContribution
A code contribution that gathers the code, the runtime hints, and the protected elements that are necessary to execute it.
Since:
6.0
Author:
Stephane Nicoll
  • Method Details

    • statements

      MultiStatement statements()
      Return the statements that can be used to append code.
      Returns:
      the statements instance to use to contribute code
    • runtimeHints

      RuntimeHints runtimeHints()
      Return the hints to use to register potential optimizations for contributed code.
      Returns:
      the runtime hints
    • protectedAccess

      ProtectedAccess protectedAccess()
      Return the protected access to use to analyze any privileged access, if necessary.
      Returns:
      the protected access