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 Summary
Modifier and TypeMethodDescriptionstatic IntrospectionFactory method to createNodeintrospection data.default IntrospectionReturns internal reflection data in undefined format.default IntrospectiongetIntrospectionData(Node inlinedParent) Returns internal reflection data in undefined format.
-
Method Details
-
getIntrospectionData
Returns internal reflection data in undefined format. A DSL user must not call this method.- Since:
- 0.22
-
getIntrospectionData
Returns internal reflection data in undefined format. A DSL user must not call this method.- Since:
- 23.0
-
create
Factory method to createNodeintrospection data. The factory is used to createIntrospectiondata to be returned from thegetIntrospectionData()method. The format of thedataparameters 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
-