langtools/src/share/classes/com/sun/tools/javac/comp/Infer.java
changeset 12335 4725d88691dd
parent 12334 29e1bfdcba4e
child 12468 1100643c0209
equal deleted inserted replaced
12334:29e1bfdcba4e 12335:4725d88691dd
   601     /**
   601     /**
   602      * Compute a synthetic method type corresponding to the requested polymorphic
   602      * Compute a synthetic method type corresponding to the requested polymorphic
   603      * method signature. The target return type is computed from the immediately
   603      * method signature. The target return type is computed from the immediately
   604      * enclosing scope surrounding the polymorphic-signature call.
   604      * enclosing scope surrounding the polymorphic-signature call.
   605      */
   605      */
   606     Type instantiatePolymorphicSignatureInstance(Env<AttrContext> env, Type site,
   606     Type instantiatePolymorphicSignatureInstance(Env<AttrContext> env,
   607                                             Name name,
       
   608                                             MethodSymbol spMethod,  // sig. poly. method or null if none
   607                                             MethodSymbol spMethod,  // sig. poly. method or null if none
   609                                             List<Type> argtypes) {
   608                                             List<Type> argtypes) {
   610         final Type restype;
   609         final Type restype;
   611 
   610 
   612         //The return type for a polymorphic signature call is computed from
   611         //The return type for a polymorphic signature call is computed from