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 added in the source instructions. |
static Optional<String> |
getLambdaLanguage(Bytecode bytecode) |
static boolean |
isGraphOperation(Bytecode bytecode)
Checks if the bytecode is one of the standard
GraphOp options. |
static void |
removeBindings(Bytecode bytecode) |
public static <A extends TraversalStrategy> Iterator<A> findStrategies(Bytecode bytecode, Class<A> clazz)
Bytecode
to find TraversalStrategy
objects added in the source instructions.public static Bytecode filterInstructions(Bytecode bytecode, Predicate<Bytecode.Instruction> predicate)
public static boolean isGraphOperation(Bytecode bytecode)
GraphOp
options.public static void removeBindings(Bytecode bytecode)
public static void detachElements(Bytecode bytecode)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.