public abstract class AbstractInjectionPlanNodeVisitor extends Object implements NodeVisitor<InjectionPlan<?>>
Constructor and Description |
---|
AbstractInjectionPlanNodeVisitor() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
visit(Constructor<?> node)
Process current injection plan node of Constructor type.
|
boolean |
visit(InjectionPlan<?> node)
Manually dispatch between different types of injection plan objects and call proper
visit() method.
|
abstract boolean |
visit(JavaInstance<?> node)
Process current injection plan node of JavaInstance type.
|
abstract boolean |
visit(Subplan<?> node)
Process current injection plan node of Subplan type.
|
public AbstractInjectionPlanNodeVisitor()
public boolean visit(InjectionPlan<?> node)
visit
in interface NodeVisitor<InjectionPlan<?>>
node
- TANG injection plan node.ClassCastException
- if argument is not one of Constructor, Subplan,
RequiredSingleton, or JavaInstance.public abstract boolean visit(Constructor<?> node)
node
- Current injection plan node.public abstract boolean visit(JavaInstance<?> node)
node
- Current injection plan node.Copyright © 2017 The Apache Software Foundation. All rights reserved.