equal
deleted
inserted
replaced
1054 return ts.tail == null && ss.tail == null; |
1054 return ts.tail == null && ss.tail == null; |
1055 /*inlined: ts.isEmpty() && ss.isEmpty();*/ |
1055 /*inlined: ts.isEmpty() && ss.isEmpty();*/ |
1056 } |
1056 } |
1057 |
1057 |
1058 /** |
1058 /** |
1059 * A polymorphic signature method (JLS SE 7, 8.4.1) is a method that |
1059 * A polymorphic signature method (JLS 15.12.3) is a method that |
1060 * (i) is declared in the java.lang.invoke.MethodHandle class, (ii) takes |
1060 * (i) is declared in the java.lang.invoke.MethodHandle class, (ii) takes |
1061 * a single variable arity parameter (iii) whose declared type is Object[], |
1061 * a single variable arity parameter (iii) whose declared type is Object[], |
1062 * (iv) has a return type of Object and (v) is native. |
1062 * (iv) has a return type of Object and (v) is native. |
1063 */ |
1063 */ |
1064 public boolean isSignaturePolymorphic(MethodSymbol msym) { |
1064 public boolean isSignaturePolymorphic(MethodSymbol msym) { |