langtools/src/share/classes/com/sun/tools/javac/comp/Resolve.java
changeset 5857 84d4886d48aa
parent 5738 c24b113fe4ac
parent 5847 1908176fd6e3
child 6151 dd513881e71d
equal deleted inserted replaced
5840:37a8d98502cd 5857:84d4886d48aa
    45 import java.util.Map;
    45 import java.util.Map;
    46 import java.util.HashMap;
    46 import java.util.HashMap;
    47 
    47 
    48 /** Helper class for name resolution, used mostly by the attribution phase.
    48 /** Helper class for name resolution, used mostly by the attribution phase.
    49  *
    49  *
    50  *  <p><b>This is NOT part of any API supported by Sun Microsystems.  If
    50  *  <p><b>This is NOT part of any supported API.
    51  *  you write code that depends on this, you do so at your own risk.
    51  *  If you write code that depends on this, you do so at your own risk.
    52  *  This code and its internal interfaces are subject to change or
    52  *  This code and its internal interfaces are subject to change or
    53  *  deletion without notice.</b>
    53  *  deletion without notice.</b>
    54  */
    54  */
    55 public class Resolve {
    55 public class Resolve {
    56     protected static final Context.Key<Resolve> resolveKey =
    56     protected static final Context.Key<Resolve> resolveKey =
   347         if (instNeeded)
   347         if (instNeeded)
   348             return
   348             return
   349             infer.instantiateMethod(env,
   349             infer.instantiateMethod(env,
   350                                     tvars,
   350                                     tvars,
   351                                     (MethodType)mt,
   351                                     (MethodType)mt,
       
   352                                     m,
   352                                     argtypes,
   353                                     argtypes,
   353                                     allowBoxing,
   354                                     allowBoxing,
   354                                     useVarargs,
   355                                     useVarargs,
   355                                     warn);
   356                                     warn);
   356         return
   357         return