< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java

Print this page

        

*** 434,444 **** } Type attribImportType(JCTree tree, Env<AttrContext> env) { Assert.check(completionEnabled); Lint prevLint = chk.setLint(allowDeprecationOnImport ? ! lint : lint.suppress(LintCategory.DEPRECATION, LintCategory.REMOVAL)); try { // To prevent deep recursion, suppress completion of some // types. completionEnabled = false; return attr.attribType(tree, env); --- 434,444 ---- } Type attribImportType(JCTree tree, Env<AttrContext> env) { Assert.check(completionEnabled); Lint prevLint = chk.setLint(allowDeprecationOnImport ? ! lint : lint.suppress(LintCategory.DEPRECATION, LintCategory.REMOVAL, LintCategory.PREVIEW)); try { // To prevent deep recursion, suppress completion of some // types. completionEnabled = false; return attr.attribType(tree, env);
< prev index next >