< prev index next >

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

Print this page

        

*** 23,32 **** --- 23,33 ---- * questions. */ package com.sun.tools.javac.comp; + import com.sun.tools.javac.code.Symbol.MethodSymbol; import com.sun.tools.javac.tree.JCTree; import com.sun.tools.javac.util.*; import com.sun.tools.javac.code.*; import com.sun.tools.javac.code.Scope.WriteableScope;
*** 115,124 **** --- 116,127 ---- * but this may not be true during the window a method is looked up in enclosing * contexts (JDK-8145466) */ JCTree preferredTreeForDiagnostics; + MethodSymbol recordImplicitConstructor; + /** Duplicate this context, replacing scope field and copying all others. */ AttrContext dup(WriteableScope scope) { AttrContext info = new AttrContext(); info.scope = scope;
*** 136,145 **** --- 139,149 ---- info.isSpeculative = isSpeculative; info.isAnonymousDiamond = isAnonymousDiamond; info.isNewClass = isNewClass; info.preferredTreeForDiagnostics = preferredTreeForDiagnostics; info.visitingServiceImplementation = visitingServiceImplementation; + info.recordImplicitConstructor = recordImplicitConstructor; return info; } /** Duplicate this context, copying all fields. */
< prev index next >