Skip to content

Commit

Permalink
Better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
liach committed Nov 15, 2024
1 parent 9a62e7d commit b314396
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,11 @@ private static int slotCount(Executable member) {
*
* @param method the method to check
* @return {@code true} if this method is signature polymorphic
* @jls 15.12 Method Invocation Expressions
* @jls 15.12.3 Compile-Time Step 3: Is the Chosen Method Appropriate?
* @jvms 2.9.3 Signature Polymorphic Methods
*/
public static boolean isSignaturePolymorphicMethod(Method method) {
// Native; has variable arity parameter
// ACC_NATIVE and ACC_VARARGS
if (!method.isVarArgs() || !Modifier.isNative(method.getModifiers())) {
return false;
}
Expand Down

0 comments on commit b314396

Please sign in to comment.