Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaMethod.java @ 23345:1c4b6a7f1917
update to Eclipse 4.5.2 format style
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 07 Apr 2016 13:56:58 +0200 |
parents | 1bbd4a7c274b |
children | ae27c683c128 |
comparison
equal
deleted
inserted
replaced
23344:32d6bceb9adc | 23345:1c4b6a7f1917 |
---|---|
91 default boolean isSynthetic() { | 91 default boolean isSynthetic() { |
92 return (SYNTHETIC & getModifiers()) == SYNTHETIC; | 92 return (SYNTHETIC & getModifiers()) == SYNTHETIC; |
93 } | 93 } |
94 | 94 |
95 /** | 95 /** |
96 * Checks that the method is a <a | 96 * Checks that the method is a |
97 * href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">varargs</a> | 97 * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">varargs</a> |
98 * method. | 98 * method. |
99 * | 99 * |
100 * @return whether the method is a varargs method | 100 * @return whether the method is a varargs method |
101 */ | 101 */ |
102 default boolean isVarArgs() { | 102 default boolean isVarArgs() { |
103 return (VARARGS & getModifiers()) == VARARGS; | 103 return (VARARGS & getModifiers()) == VARARGS; |
104 } | 104 } |
105 | 105 |
106 /** | 106 /** |
107 * Checks that the method is a <a | 107 * Checks that the method is a |
108 * href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">bridge</a> | 108 * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6">bridge</a> |
109 * method. | 109 * method. |
110 * | 110 * |
111 * @return whether the method is a bridge method | 111 * @return whether the method is a bridge method |
112 */ | 112 */ |
113 default boolean isBridge() { | 113 default boolean isBridge() { |
345 } | 345 } |
346 | 346 |
347 SpeculationLog getSpeculationLog(); | 347 SpeculationLog getSpeculationLog(); |
348 | 348 |
349 /** | 349 /** |
350 * Determines if the method identified by its holder and name is a <a | 350 * Determines if the method identified by its holder and name is a |
351 * href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature | 351 * <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature |
352 * polymorphic</a> method. | 352 * polymorphic</a> method. |
353 */ | 353 */ |
354 static boolean isSignaturePolymorphic(JavaType holder, String name, MetaAccessProvider metaAccess) { | 354 static boolean isSignaturePolymorphic(JavaType holder, String name, MetaAccessProvider metaAccess) { |
355 if (!holder.getName().equals("Ljava/lang/invoke/MethodHandle;")) { | 355 if (!holder.getName().equals("Ljava/lang/invoke/MethodHandle;")) { |
356 return false; | 356 return false; |