< prev index next > src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrContext.java
Print this page
/** The number of enclosing `static' modifiers.
*/
int staticLevel = 0;
- /** Are we in the 'prologue' part of a constructor, prior to an explicit this()/super()?
+ /** Early construction context.
*/
- boolean ctorPrologue = false;
+ EarlyConstructionContext earlyContext = EarlyConstructionContext.NONE;
/** Are we evaluating the selector of a `super' or type name?
*/
boolean selectSuper = false;
*/
AttrContext dup(WriteableScope scope) {
AttrContext info = new AttrContext();
info.scope = scope;
info.staticLevel = staticLevel;
- info.ctorPrologue = ctorPrologue;
+ info.earlyContext = earlyContext;
info.selectSuper = selectSuper;
info.pendingResolutionPhase = pendingResolutionPhase;
info.lint = lint;
info.enclVar = enclVar;
info.returnResult = returnResult;
< prev index next >