public abstract class AbstractMarker extends java.lang.Object implements Marker
Marker
implementation by providing a
mark(MethodNode)
method that returns a list of AbstractMarker.MarkedRegion
instances instead of Shadow
instances. The AbstractMarker.MarkedRegion
class
itself supports automatic computation of weaving region based on simplified
region specification.Modifier and Type | Class and Description |
---|---|
static class |
AbstractMarker.MarkedRegion
values where the weaving region can be precomputed by
computeDefaultWeavingRegion method.
|
Constructor and Description |
---|
AbstractMarker() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Shadow> |
mark(org.objectweb.asm.tree.ClassNode classNode,
org.objectweb.asm.tree.MethodNode methodNode,
ch.usi.dag.disl.snippet.Snippet snippet)
Returns shadows for the marked method.
|
abstract java.util.List<AbstractMarker.MarkedRegion> |
mark(org.objectweb.asm.tree.MethodNode methodNode)
Implementation of this method should return list of
AbstractMarker.MarkedRegion
instances with start, ends, and the weaving region filled. |
public java.util.List<Shadow> mark(org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.tree.MethodNode methodNode, ch.usi.dag.disl.snippet.Snippet snippet) throws ch.usi.dag.disl.exception.MarkerException
Marker
Returns shadows for the marked method.
public abstract java.util.List<AbstractMarker.MarkedRegion> mark(org.objectweb.asm.tree.MethodNode methodNode)
AbstractMarker.MarkedRegion
instances with start, ends, and the weaving region filled.methodNode
- method node of the marked class