Interface Introspection.Provider

Enclosing class:
Introspection

public static interface Introspection.Provider
Internal marker interface for DSL generated code to access reflection information. A DSL user must not refer to this type manually.
Since:
0.22
  • Method Details

    • getIntrospectionData

      default Introspection getIntrospectionData()
      Returns internal reflection data in undefined format. A DSL user must not call this method.
      Since:
      0.22
    • getIntrospectionData

      default Introspection getIntrospectionData(Node inlinedParent)
      Returns internal reflection data in undefined format. A DSL user must not call this method.
      Since:
      23.0
    • create

      static Introspection create(Object... data)
      Factory method to create Node introspection data. The factory is used to create Introspection data to be returned from the getIntrospectionData() method. The format of the data parameters is internal, thus this method shall only be used by the nodes generated by the DSL processor. A DSL user must not call this method.
      Parameters:
      data - introspection data in an internal format
      Returns:
      wrapped data to be used by Introspection.getSpecializations(com.oracle.truffle.api.nodes.Node) and similar methods
      Since:
      0.22