@Retention(value=RUNTIME) @Target(value=METHOD) public static @interface Node.NodeIntrinsic
value(). For this reason, the signature of the annotated method must match the signature (excluding a prefix of injected parameters) of a factory method named
"create"in the node class.
|Modifier and Type||Optional Element and Description|
Determines if this intrinsic can be compile-time executed.
Determines if the stamp of the instantiated intrinsic node has its stamp set from the return type of the annotated method.
public abstract Class<?> value
Nodesubclass instantiated when intrinsifying a call to the annotated method. If not specified, then the class in which the annotated method is declared is used (and is assumed to be a
public abstract boolean setStampFromReturnType
When it is set to true, the stamp that is passed in to the constructor of ValueNode is
ignored and can therefore safely be
public abstract boolean foldable