public class VetoableASTStubber
extends AbstractASTTransformation
Joint-compilation stubber for Vetoable. Symmetric to
BindableASTStubber: emits placeholder
add/removeVetoableChangeListener,
fireVetoableChange (with throws PropertyVetoException),
and getVetoableChangeListeners methods.
Both class-level @Vetoable and field-level @Vetoable
on a non-static, non-final property contribute those methods. The same
sites BindableASTStubber skips are skipped here.
The full VetoableASTTransformation at CANONICALIZATION
removes these listener placeholders before installing the
vetoableChangeSupport field and the real method bodies.
Unrelated stubber placeholders on the same class are left in place.
| Fields inherited from class | Fields |
|---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE, sourceUnit |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |