org.yx.asm.EmptyMethodVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sumk Show documentation
Show all versions of sumk Show documentation
A quick developing framewort for internet company
/**
* Copyright (C) 2016 - 2030 youtongluan.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.yx.asm;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Attribute;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.TypePath;
public class EmptyMethodVisitor extends MethodVisitor {
public EmptyMethodVisitor(int api) {
super(api);
}
@Override
public void visitParameter(String name, int access) {
}
@Override
public AnnotationVisitor visitAnnotationDefault() {
return null;
}
@Override
public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) {
return null;
}
@Override
public AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) {
return null;
}
@Override
public void visitAnnotableParameterCount(int parameterCount, boolean visible) {
}
@Override
public AnnotationVisitor visitParameterAnnotation(int parameter, String descriptor, boolean visible) {
return null;
}
@Override
public void visitAttribute(Attribute attribute) {
}
@Override
public void visitCode() {
}
@Override
public void visitFrame(int type, int numLocal, Object[] local, int numStack, Object[] stack) {
}
@Override
public void visitInsn(int opcode) {
}
@Override
public void visitIntInsn(int opcode, int operand) {
}
@Override
public void visitVarInsn(int opcode, int var) {
}
@Override
public void visitTypeInsn(int opcode, String type) {
}
@Override
public void visitFieldInsn(int opcode, String owner, String name, String descriptor) {
}
@Override
public void visitMethodInsn(int opcode, String owner, String name, String descriptor) {
}
@Override
public void visitMethodInsn(int opcode, String owner, String name, String descriptor, boolean isInterface) {
}
@Override
public void visitInvokeDynamicInsn(String name, String descriptor, Handle bootstrapMethodHandle,
Object... bootstrapMethodArguments) {
}
@Override
public void visitJumpInsn(int opcode, Label label) {
}
@Override
public void visitLabel(Label label) {
}
@Override
public void visitLdcInsn(Object value) {
}
@Override
public void visitIincInsn(int var, int increment) {
}
@Override
public void visitTableSwitchInsn(int min, int max, Label dflt, Label... labels) {
}
@Override
public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) {
}
@Override
public void visitMultiANewArrayInsn(String descriptor, int numDimensions) {
}
@Override
public AnnotationVisitor visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) {
return null;
}
@Override
public void visitTryCatchBlock(Label start, Label end, Label handler, String type) {
}
@Override
public AnnotationVisitor visitTryCatchAnnotation(int typeRef, TypePath typePath, String descriptor,
boolean visible) {
return null;
}
@Override
public void visitLocalVariable(String name, String descriptor, String signature, Label start, Label end,
int index) {
}
@Override
public AnnotationVisitor visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end,
int[] index, String descriptor, boolean visible) {
return null;
}
@Override
public void visitLineNumber(int line, Label start) {
}
@Override
public void visitMaxs(int maxStack, int maxLocals) {
}
@Override
public void visitEnd() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy