protected class SymbolicSnippetEncoder.SnippetInlineInvokePlugin extends Object implements InlineInvokePlugin
InlineInvokePlugin.InlineInfo| Modifier | Constructor and Description |
|---|---|
protected |
SnippetInlineInvokePlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyAfterInline(ResolvedJavaMethod methodToInline)
Notification that a method was inlined.
|
InlineInvokePlugin.InlineInfo |
shouldInlineInvoke(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args)
Determines whether a call to a given method is to be inlined.
|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyBeforeInline, notifyNotInlinedpublic InlineInvokePlugin.InlineInfo shouldInlineInvoke(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args)
InlineInvokePlugin
Non-null return value with a non-null method: That
method is inlined. Note that it can be a different
method than the one specified here as the parameter, which allows method substitutions.
Non-null return value with a null method, e.g.,
InlineInvokePlugin.InlineInfo.DO_NOT_INLINE_WITH_EXCEPTION: The method is not inlined, and other plugins
with a lower priority cannot overwrite this decision.
Null return value: This plugin made no decision, other plugins with a lower priority are asked.
shouldInlineInvoke in interface InlineInvokePluginb - the contextmethod - the target method of an invokeargs - the arguments to the invokepublic void notifyAfterInline(ResolvedJavaMethod methodToInline)
InlineInvokePluginnotifyAfterInline in interface InlineInvokePluginmethodToInline - the inlined method