Package io.airlift.bytecode
Class BytecodeVisitor<T>
java.lang.Object
io.airlift.bytecode.BytecodeVisitor<T>
- Direct Known Subclasses:
DumpBytecodeVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitAnnotation(Object parent, AnnotationDefinition annotationDefinition) visitBlock(BytecodeNode parent, BytecodeBlock block) visitBooleanConstant(BytecodeNode parent, Constant.BooleanConstant booleanConstant) visitBoxedBooleanConstant(BytecodeNode parent, Constant.BoxedBooleanConstant boxedBooleanConstant) visitBoxedDoubleConstant(BytecodeNode parent, Constant.BoxedDoubleConstant boxedDoubleConstant) visitBoxedFloatConstant(BytecodeNode parent, Constant.BoxedFloatConstant boxedFloatConstant) visitBoxedIntegerConstant(BytecodeNode parent, Constant.BoxedIntegerConstant boxedIntegerConstant) visitBoxedLongConstant(BytecodeNode parent, Constant.BoxedLongConstant boxedLongConstant) visitBytecodeExpression(BytecodeNode parent, BytecodeExpression expression) visitClass(ClassDefinition classDefinition) visitClassConstant(BytecodeNode parent, Constant.ClassConstant classConstant) visitComment(BytecodeNode parent, Comment node) visitConstant(BytecodeNode parent, Constant constant) visitDebug(BytecodeNode parent, DebugNode debugNode) visitDoubleConstant(BytecodeNode parent, Constant.DoubleConstant doubleConstant) visitDoWhile(BytecodeNode parent, DoWhileLoop doWhileLoop) visitDynamicConstant(BytecodeNode parent, Constant.DynamicConstant dynamicConstant) visitField(ClassDefinition classDefinition, FieldDefinition fieldDefinition) visitFieldInstruction(BytecodeNode parent, FieldInstruction fieldInstruction) visitFloatConstant(BytecodeNode parent, Constant.FloatConstant floatConstant) visitFlowControl(BytecodeNode parent, FlowControl flowControl) visitFor(BytecodeNode parent, ForLoop forLoop) visitGetField(BytecodeNode parent, FieldInstruction.GetFieldInstruction getFieldInstruction) visitIf(BytecodeNode parent, IfStatement ifStatement) visitIncrementVariable(BytecodeNode parent, VariableInstruction.IncrementVariableInstruction incrementVariableInstruction) visitInstruction(BytecodeNode parent, InstructionNode node) visitIntConstant(BytecodeNode parent, Constant.IntConstant intConstant) visitInvoke(BytecodeNode parent, InvokeInstruction invokeInstruction) visitInvokeDynamic(BytecodeNode parent, InvokeInstruction.InvokeDynamicInstruction invokeDynamicInstruction) visitJumpInstruction(BytecodeNode parent, JumpInstruction jumpInstruction) visitLabel(BytecodeNode parent, LabelNode labelNode) visitLineNumber(BytecodeNode parent, LineNumberNode lineNumberNode) visitLoadVariable(BytecodeNode parent, VariableInstruction.LoadVariableInstruction loadVariableInstruction) visitLocalVariable(BytecodeNode parent, LocalVariableNode localVariableNode) visitLongConstant(BytecodeNode parent, Constant.LongConstant longConstant) visitMethod(ClassDefinition classDefinition, MethodDefinition methodDefinition) visitNode(BytecodeNode parent, BytecodeNode node) visitPutField(BytecodeNode parent, FieldInstruction.PutFieldInstruction putFieldInstruction) visitStoreVariable(BytecodeNode parent, VariableInstruction.StoreVariableInstruction storeVariableInstruction) visitStringConstant(BytecodeNode parent, Constant.StringConstant stringConstant) visitSwitch(BytecodeNode parent, SwitchStatement switchStatement) visitTryCatch(BytecodeNode parent, TryCatch tryCatch) visitVariableInstruction(BytecodeNode parent, VariableInstruction variableInstruction) visitWhile(BytecodeNode parent, WhileLoop whileLoop)
-
Constructor Details
-
BytecodeVisitor
public BytecodeVisitor()
-
-
Method Details
-
visitClass
-
visitAnnotation
-
visitField
-
visitMethod
-
visitNode
-
visitComment
-
visitBlock
-
visitBytecodeExpression
-
visitFlowControl
-
visitTryCatch
-
visitIf
-
visitFor
-
visitWhile
-
visitDoWhile
-
visitSwitch
-
visitInstruction
-
visitLabel
-
visitJumpInstruction
-
visitConstant
-
visitBoxedBooleanConstant
public T visitBoxedBooleanConstant(BytecodeNode parent, Constant.BoxedBooleanConstant boxedBooleanConstant) -
visitBooleanConstant
-
visitIntConstant
-
visitBoxedIntegerConstant
public T visitBoxedIntegerConstant(BytecodeNode parent, Constant.BoxedIntegerConstant boxedIntegerConstant) -
visitFloatConstant
-
visitBoxedFloatConstant
public T visitBoxedFloatConstant(BytecodeNode parent, Constant.BoxedFloatConstant boxedFloatConstant) -
visitLongConstant
-
visitBoxedLongConstant
-
visitDoubleConstant
-
visitBoxedDoubleConstant
public T visitBoxedDoubleConstant(BytecodeNode parent, Constant.BoxedDoubleConstant boxedDoubleConstant) -
visitStringConstant
-
visitClassConstant
-
visitDynamicConstant
-
visitVariableInstruction
-
visitLoadVariable
public T visitLoadVariable(BytecodeNode parent, VariableInstruction.LoadVariableInstruction loadVariableInstruction) -
visitStoreVariable
public T visitStoreVariable(BytecodeNode parent, VariableInstruction.StoreVariableInstruction storeVariableInstruction) -
visitIncrementVariable
public T visitIncrementVariable(BytecodeNode parent, VariableInstruction.IncrementVariableInstruction incrementVariableInstruction) -
visitFieldInstruction
-
visitGetField
public T visitGetField(BytecodeNode parent, FieldInstruction.GetFieldInstruction getFieldInstruction) -
visitPutField
public T visitPutField(BytecodeNode parent, FieldInstruction.PutFieldInstruction putFieldInstruction) -
visitInvoke
-
visitInvokeDynamic
public T visitInvokeDynamic(BytecodeNode parent, InvokeInstruction.InvokeDynamicInstruction invokeDynamicInstruction) -
visitDebug
-
visitLineNumber
-
visitLocalVariable
-