public interface EclipseAstInstrumentationStrategy
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jdt.core.dom.Statement |
instrumentEnd(CodeSection codeSection,
org.eclipse.jdt.core.dom.AST nodeFactory)
Provides a node to be inserted after the given
codeSection. |
org.eclipse.jdt.core.dom.Statement |
instrumentStart(CodeSection codeSection,
org.eclipse.jdt.core.dom.AST nodeFactory)
Provides a node to be inserted before the given
codeSection. |
org.eclipse.jdt.core.dom.Statement instrumentStart(CodeSection codeSection, org.eclipse.jdt.core.dom.AST nodeFactory)
codeSection. The statement
returned is to be inserted before the first statement of the given
codeSection.codeSection - The section being instrumented.nodeFactory - The AST instance that must be used to create the
instrumentation statement.ASTNode.getAST() must return nodeFactory.
null to not insert anything.org.eclipse.jdt.core.dom.Statement instrumentEnd(CodeSection codeSection, org.eclipse.jdt.core.dom.AST nodeFactory)
codeSection. The statement
returned is to be inserted after the last statement of the given
codeSection.codeSection - The section being instrumented.nodeFactory - The AST instance that must be used to create the
instrumentation statement.ASTNode.getAST() must return nodeFactory.
null to not insert anything.