public class PatternMatcher
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PatternMatcher.Builder
The Builder object for
PatternMatcher. |
| Modifier and Type | Method and Description |
|---|---|
static PatternMatcher.Builder |
builder() |
org.objectweb.asm.tree.InsnList |
find(org.objectweb.asm.tree.AbstractInsnNode node)
Tries to match the given pattern starting from a given node.
|
org.objectweb.asm.tree.InsnList |
find(org.objectweb.asm.tree.MethodNode node)
Tries to match the given pattern on a given
MethodNode. |
public static PatternMatcher.Builder builder()
PatternMatcherpublic org.objectweb.asm.tree.InsnList find(org.objectweb.asm.tree.MethodNode node)
MethodNode.node - the MethodNode to searchInsnList object representing the matched patternpublic org.objectweb.asm.tree.InsnList find(org.objectweb.asm.tree.AbstractInsnNode node)
node - the node to start the search onInsnList object representing the matched pattern