langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
changeset 34563 6852cec79bf4
parent 33917 45d04023e689
child 34756 d31f11c4cc75
equal deleted inserted replaced
34562:019cd319c62f 34563:6852cec79bf4
  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) {