@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 |
|---|---|
boolean |
foldable
Determines if this intrinsic can be compile-time executed.
|
boolean |
setStampFromReturnType
Determines if the stamp of the instantiated intrinsic node has its stamp set from the
return type of the annotated method.
|
Class<?> |
value
Gets the
Node subclass instantiated when intrinsifying a call to the annotated
method. |
public abstract Class<?> value
Node subclass 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 Node subclass).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 null.
public abstract boolean foldable