Class BytecodeHelper
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.process.traversal.util.BytecodeHelper
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddetachElements(Bytecode bytecode)static BytecodefilterInstructions(Bytecode bytecode, Predicate<Bytecode.Instruction> predicate)static <A extends TraversalStrategy>
Iterator<A>findStrategies(Bytecode bytecode, Class<A> clazz)ParsesBytecodeto findTraversalStrategyobjects added in the source instructions.static Optional<String>getLambdaLanguage(Bytecode bytecode)static booleanisGraphOperation(Bytecode bytecode)Checks if the bytecode is one of the standardGraphOpoptions.static voidremoveBindings(Bytecode bytecode) 
 - 
 
- 
- 
Method Detail
- 
findStrategies
public static <A extends TraversalStrategy> Iterator<A> findStrategies(Bytecode bytecode, Class<A> clazz)
ParsesBytecodeto findTraversalStrategyobjects added in the source instructions. 
- 
filterInstructions
public static Bytecode filterInstructions(Bytecode bytecode, Predicate<Bytecode.Instruction> predicate)
 
- 
isGraphOperation
public static boolean isGraphOperation(Bytecode bytecode)
Checks if the bytecode is one of the standardGraphOpoptions. 
- 
removeBindings
public static void removeBindings(Bytecode bytecode)
 
- 
detachElements
public static void detachElements(Bytecode bytecode)
 
 - 
 
 -