44 import java.util.Set; |
44 import java.util.Set; |
45 import java.util.WeakHashMap; |
45 import java.util.WeakHashMap; |
46 |
46 |
47 import static com.sun.tools.javac.code.TypeTags.*; |
47 import static com.sun.tools.javac.code.TypeTags.*; |
48 import static com.sun.tools.javac.tree.JCTree.Tag.*; |
48 import static com.sun.tools.javac.tree.JCTree.Tag.*; |
49 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition; |
|
50 |
49 |
51 /** |
50 /** |
52 * This is an helper class that is used to perform deferred type-analysis. |
51 * This is an helper class that is used to perform deferred type-analysis. |
53 * Each time a poly expression occurs in argument position, javac attributes it |
52 * Each time a poly expression occurs in argument position, javac attributes it |
54 * with a temporary 'deferred type' that is checked (possibly multiple times) |
53 * with a temporary 'deferred type' that is checked (possibly multiple times) |