Modifier and Type | Method and Description |
---|---|
static void |
detachElements(Bytecode bytecode) |
static Bytecode |
filterInstructions(Bytecode bytecode,
Predicate<Bytecode.Instruction> predicate) |
static <A extends TraversalStrategy> |
findStrategies(Bytecode bytecode,
Class<A> clazz)
Parses
Bytecode to find TraversalStrategy objects in the source instructions. |
static Optional<String> |
getLambdaLanguage(Bytecode bytecode) |
static void |
removeBindings(Bytecode bytecode) |
public static <A extends TraversalStrategy> Iterator<A> findStrategies(Bytecode bytecode, Class<A> clazz)
Bytecode
to find TraversalStrategy
objects in the source instructions.public static Bytecode filterInstructions(Bytecode bytecode, Predicate<Bytecode.Instruction> predicate)
public static void removeBindings(Bytecode bytecode)
public static void detachElements(Bytecode bytecode)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.