public abstract static class SnippetTemplate.SnippetInfo extends Object
ResolvedJavaMethod of the snippet, together with some information about the
method that needs to be computed only once. The SnippetTemplate.SnippetInfo should be created once
per snippet and then cached.| Modifier and Type | Field and Description |
|---|---|
protected ResolvedJavaMethod |
method |
protected ResolvedJavaMethod |
original |
protected org.graalvm.word.LocationIdentity[] |
privateLocations |
protected Object |
receiver |
| Modifier | Constructor and Description |
|---|---|
protected |
SnippetInfo(ResolvedJavaMethod method,
ResolvedJavaMethod original,
org.graalvm.word.LocationIdentity[] privateLocations,
Object receiver) |
| Modifier and Type | Method and Description |
|---|---|
ResolvedJavaMethod |
getMethod() |
int |
getParameterCount() |
String |
getParameterName(int paramIdx) |
Object |
getReceiver() |
protected abstract SnippetParameterInfo |
info() |
boolean |
isConstantParameter(int paramIdx) |
boolean |
isNonNullParameter(int paramIdx) |
boolean |
isVarargsParameter(int paramIdx) |
String |
toString() |
protected final ResolvedJavaMethod method
protected final ResolvedJavaMethod original
protected final org.graalvm.word.LocationIdentity[] privateLocations
protected final Object receiver
protected SnippetInfo(ResolvedJavaMethod method,
ResolvedJavaMethod original,
org.graalvm.word.LocationIdentity[] privateLocations,
Object receiver)
public Object getReceiver()
protected abstract SnippetParameterInfo info()
public ResolvedJavaMethod getMethod()
public int getParameterCount()
public boolean isConstantParameter(int paramIdx)
public boolean isVarargsParameter(int paramIdx)
public boolean isNonNullParameter(int paramIdx)
public String getParameterName(int paramIdx)