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, superEntercatchErrors, enterCall, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystembypass, bypass, bypassChildren, override, visitChildrenpublic 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.ErrorHandlingVisitorpolyglot.types.SemanticExceptionprotected boolean leaveInitializer(polyglot.ast.FieldDecl fd)