public class Shadow
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Shadow.WeavingRegion
Holds exact information where the code will be woven.
|
Constructor and Description |
---|
Shadow(org.objectweb.asm.tree.ClassNode classNode,
org.objectweb.asm.tree.MethodNode methodNode,
ch.usi.dag.disl.snippet.Snippet snippet,
org.objectweb.asm.tree.AbstractInsnNode regionStart,
java.util.List<org.objectweb.asm.tree.AbstractInsnNode> regionEnds,
Shadow.WeavingRegion weavingRegion) |
Shadow(Shadow sa) |
Modifier and Type | Method and Description |
---|---|
org.objectweb.asm.tree.ClassNode |
getClassNode()
Returns class node of the class where the shadow is defined.
|
org.objectweb.asm.tree.MethodNode |
getMethodNode()
Returns method node of the method where the shadow is defined.
|
java.util.List<org.objectweb.asm.tree.AbstractInsnNode> |
getRegionEnds()
Returns region ends (this region is designed for static analysis).
|
org.objectweb.asm.tree.AbstractInsnNode |
getRegionStart()
Returns region start (this region is designed for static analysis).
|
ch.usi.dag.disl.snippet.Snippet |
getSnippet()
Returns snippet that will be woven.
|
Shadow.WeavingRegion |
getWeavingRegion()
Returns weaving region (this region is designed for weaver).
|
public Shadow(org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.tree.MethodNode methodNode, ch.usi.dag.disl.snippet.Snippet snippet, org.objectweb.asm.tree.AbstractInsnNode regionStart, java.util.List<org.objectweb.asm.tree.AbstractInsnNode> regionEnds, Shadow.WeavingRegion weavingRegion)
public Shadow(Shadow sa)
public org.objectweb.asm.tree.ClassNode getClassNode()
public org.objectweb.asm.tree.MethodNode getMethodNode()
public ch.usi.dag.disl.snippet.Snippet getSnippet()
public org.objectweb.asm.tree.AbstractInsnNode getRegionStart()
public java.util.List<org.objectweb.asm.tree.AbstractInsnNode> getRegionEnds()
public Shadow.WeavingRegion getWeavingRegion()