public class MoveStaticFieldInitializers
extends polyglot.visit.ContextVisitor
Constructor and Description |
---|
MoveStaticFieldInitializers(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf,
boolean onlyReferenceType) |
MoveStaticFieldInitializers(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf,
boolean onlyReferenceType,
boolean skipDefaultInits) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
leaveCall(polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v) |
protected boolean |
leaveInitializer(polyglot.ast.FieldDecl fd) |
addDecls, addDecls, begin, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter
catchErrors, enterCall, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem
bypass, bypass, bypassChildren, override, visitChildren
public MoveStaticFieldInitializers(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf, boolean onlyReferenceType)
public MoveStaticFieldInitializers(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf, boolean onlyReferenceType, boolean skipDefaultInits)
public polyglot.ast.Node leaveCall(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v) throws polyglot.types.SemanticException
leaveCall
in class polyglot.visit.ErrorHandlingVisitor
polyglot.types.SemanticException
protected boolean leaveInitializer(polyglot.ast.FieldDecl fd)