Annotation Interface TruffleRunner.Inject

Enclosing class:
TruffleRunner

@Retention(RUNTIME) @Target(PARAMETER) public static @interface TruffleRunner.Inject
A parameter annotated with TruffleRunner.Inject specifies the RootNode of the test AST.
Since:
0.25
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends com.oracle.truffle.api.nodes.RootNode>
    Defines the root node of the Truffle tree that should be tested.
  • Element Details

    • value

      Class<? extends com.oracle.truffle.api.nodes.RootNode> value
      Defines the root node of the Truffle tree that should be tested.
      Since:
      0.25