public class SubstitutionMethod extends Object implements jdk.vm.ci.meta.ResolvedJavaMethod, com.oracle.graal.pointsto.infrastructure.GraphProvider, com.oracle.graal.pointsto.infrastructure.OriginalMethodProvider
Constructor and Description |
---|
SubstitutionMethod(jdk.vm.ci.meta.ResolvedJavaMethod original,
jdk.vm.ci.meta.ResolvedJavaMethod annotated) |
SubstitutionMethod(jdk.vm.ci.meta.ResolvedJavaMethod original,
jdk.vm.ci.meta.ResolvedJavaMethod annotated,
boolean inClassSubstitution) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowRuntimeCompilation() |
StackTraceElement |
asStackTraceElement(int bci) |
org.graalvm.compiler.nodes.StructuredGraph |
buildGraph(org.graalvm.compiler.debug.DebugContext debug,
jdk.vm.ci.meta.ResolvedJavaMethod method,
com.oracle.graal.pointsto.meta.HostedProviders providers,
com.oracle.graal.pointsto.infrastructure.GraphProvider.Purpose purpose) |
boolean |
canBeInlined() |
boolean |
canBeStaticallyBound() |
jdk.vm.ci.meta.ResolvedJavaMethod |
getAnnotated() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
byte[] |
getCode() |
int |
getCodeSize() |
jdk.vm.ci.meta.ConstantPool |
getConstantPool() |
Annotation[] |
getDeclaredAnnotations() |
jdk.vm.ci.meta.ResolvedJavaType |
getDeclaringClass() |
jdk.vm.ci.meta.Constant |
getEncoding() |
jdk.vm.ci.meta.ExceptionHandler[] |
getExceptionHandlers() |
Type[] |
getGenericParameterTypes() |
Executable |
getJavaMethod() |
jdk.vm.ci.meta.LineNumberTable |
getLineNumberTable() |
jdk.vm.ci.meta.LocalVariableTable |
getLocalVariableTable() |
int |
getMaxLocals() |
int |
getMaxStackSize() |
int |
getModifiers() |
String |
getName() |
jdk.vm.ci.meta.ResolvedJavaMethod |
getOriginal() |
Annotation[][] |
getParameterAnnotations() |
jdk.vm.ci.meta.ResolvedJavaMethod.Parameter[] |
getParameters() |
jdk.vm.ci.meta.ProfilingInfo |
getProfilingInfo(boolean includeNormal,
boolean includeOSR) |
jdk.vm.ci.meta.Signature |
getSignature() |
jdk.vm.ci.meta.SpeculationLog |
getSpeculationLog() |
boolean |
hasNeverInlineDirective() |
boolean |
isBridge() |
boolean |
isClassInitializer() |
boolean |
isConstructor() |
boolean |
isDefault() |
boolean |
isInVirtualMethodTable(jdk.vm.ci.meta.ResolvedJavaType resolved) |
boolean |
isSynthetic() |
boolean |
isVarArgs() |
void |
reprofile() |
boolean |
shouldBeInlined() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameterAnnotation, getParameterAnnotations, getProfilingInfo, hasBytecodes, hasReceiver, isFinal, isJavaLangObjectInit, toParameterTypes
isAbstract, isConcrete, isFinalFlagSet, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public SubstitutionMethod(jdk.vm.ci.meta.ResolvedJavaMethod original, jdk.vm.ci.meta.ResolvedJavaMethod annotated)
public SubstitutionMethod(jdk.vm.ci.meta.ResolvedJavaMethod original, jdk.vm.ci.meta.ResolvedJavaMethod annotated, boolean inClassSubstitution)
public jdk.vm.ci.meta.ResolvedJavaMethod getOriginal()
public jdk.vm.ci.meta.ResolvedJavaMethod getAnnotated()
public String getName()
getName
in interface jdk.vm.ci.meta.JavaMethod
public jdk.vm.ci.meta.Signature getSignature()
getSignature
in interface jdk.vm.ci.meta.JavaMethod
public org.graalvm.compiler.nodes.StructuredGraph buildGraph(org.graalvm.compiler.debug.DebugContext debug, jdk.vm.ci.meta.ResolvedJavaMethod method, com.oracle.graal.pointsto.meta.HostedProviders providers, com.oracle.graal.pointsto.infrastructure.GraphProvider.Purpose purpose)
buildGraph
in interface com.oracle.graal.pointsto.infrastructure.GraphProvider
public boolean allowRuntimeCompilation()
allowRuntimeCompilation
in interface com.oracle.graal.pointsto.infrastructure.GraphProvider
public byte[] getCode()
getCode
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public int getCodeSize()
getCodeSize
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.ResolvedJavaType getDeclaringClass()
getDeclaringClass
in interface jdk.vm.ci.meta.JavaMethod
getDeclaringClass
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public int getMaxLocals()
getMaxLocals
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public int getMaxStackSize()
getMaxStackSize
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public int getModifiers()
getModifiers
in interface jdk.vm.ci.meta.ModifiersProvider
public boolean isSynthetic()
isSynthetic
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isVarArgs()
isVarArgs
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isBridge()
isBridge
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isClassInitializer()
isClassInitializer
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isConstructor()
isConstructor
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean canBeStaticallyBound()
canBeStaticallyBound
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.ExceptionHandler[] getExceptionHandlers()
getExceptionHandlers
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public StackTraceElement asStackTraceElement(int bci)
asStackTraceElement
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.ProfilingInfo getProfilingInfo(boolean includeNormal, boolean includeOSR)
getProfilingInfo
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.ConstantPool getConstantPool()
getConstantPool
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotatedElement
public Annotation[][] getParameterAnnotations()
getParameterAnnotations
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.ResolvedJavaMethod.Parameter[] getParameters()
getParameters
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public Type[] getGenericParameterTypes()
getGenericParameterTypes
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean canBeInlined()
canBeInlined
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean hasNeverInlineDirective()
hasNeverInlineDirective
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean shouldBeInlined()
shouldBeInlined
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.LineNumberTable getLineNumberTable()
getLineNumberTable
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.LocalVariableTable getLocalVariableTable()
getLocalVariableTable
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public void reprofile()
reprofile
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.Constant getEncoding()
getEncoding
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isInVirtualMethodTable(jdk.vm.ci.meta.ResolvedJavaType resolved)
isInVirtualMethodTable
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public boolean isDefault()
isDefault
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public jdk.vm.ci.meta.SpeculationLog getSpeculationLog()
getSpeculationLog
in interface jdk.vm.ci.meta.ResolvedJavaMethod
public Executable getJavaMethod()
getJavaMethod
in interface com.oracle.graal.pointsto.infrastructure.OriginalMethodProvider