< 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()?
*/
! boolean ctorPrologue = false;
/** Are we evaluating the selector of a `super' or type name?
*/
boolean selectSuper = false;
/** The number of enclosing `static' modifiers.
*/
int staticLevel = 0;
! /** Early construction context.
*/
! 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.selectSuper = selectSuper;
info.pendingResolutionPhase = pendingResolutionPhase;
info.lint = lint;
info.enclVar = enclVar;
info.returnResult = returnResult;
*/
AttrContext dup(WriteableScope scope) {
AttrContext info = new AttrContext();
info.scope = scope;
info.staticLevel = staticLevel;
! info.earlyContext = earlyContext;
info.selectSuper = selectSuper;
info.pendingResolutionPhase = pendingResolutionPhase;
info.lint = lint;
info.enclVar = enclVar;
info.returnResult = returnResult;
< prev index next >