< prev index next >
src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaMethod.java
Print this page
*** 91,113 ****
default boolean isSynthetic() {
return (SYNTHETIC & getModifiers()) == SYNTHETIC;
}
/**
! * Checks that the method is a <a
! * href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">varargs</a>
* method.
*
* @return whether the method is a varargs method
*/
default boolean isVarArgs() {
return (VARARGS & getModifiers()) == VARARGS;
}
/**
! * Checks that the method is a <a
! * href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">bridge</a>
* method.
*
* @return whether the method is a bridge method
*/
default boolean isBridge() {
--- 91,113 ----
default boolean isSynthetic() {
return (SYNTHETIC & getModifiers()) == SYNTHETIC;
}
/**
! * Checks that the method is a
! * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">varargs</a>
* method.
*
* @return whether the method is a varargs method
*/
default boolean isVarArgs() {
return (VARARGS & getModifiers()) == VARARGS;
}
/**
! * Checks that the method is a
! * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">bridge</a>
* method.
*
* @return whether the method is a bridge method
*/
default boolean isBridge() {
*** 345,356 ****
}
SpeculationLog getSpeculationLog();
/**
! * Determines if the method identified by its holder and name is a <a
! * href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature
* polymorphic</a> method.
*/
static boolean isSignaturePolymorphic(JavaType holder, String name, MetaAccessProvider metaAccess) {
if (!holder.getName().equals("Ljava/lang/invoke/MethodHandle;")) {
return false;
--- 345,356 ----
}
SpeculationLog getSpeculationLog();
/**
! * Determines if the method identified by its holder and name is a
! * <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature
* polymorphic</a> method.
*/
static boolean isSignaturePolymorphic(JavaType holder, String name, MetaAccessProvider metaAccess) {
if (!holder.getName().equals("Ljava/lang/invoke/MethodHandle;")) {
return false;
< prev index next >