
com.github.obase.mysql.asm.IndexesAnnotationVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obase-mysql Show documentation
Show all versions of obase-mysql Show documentation
A very simple/efficient Mysql Client Framework
The newest version!
package com.github.obase.mysql.asm;
import java.util.List;
import org.springframework.asm.AnnotationVisitor;
import org.springframework.asm.SpringAsmInfo;
import com.github.obase.mysql.data.IndexAnnotation;
class IndexesAnnotationVisitor extends AnnotationVisitor {
final List data;
public IndexesAnnotationVisitor(List data) {
super(SpringAsmInfo.ASM_VERSION);
this.data = data;
}
@Override
public AnnotationVisitor visitArray(String name) {
return this;
}
@Override
public AnnotationVisitor visitAnnotation(String name, String desc) {
IndexAnnotation index = new IndexAnnotation();
data.add(index);
return new IndexAnnotationVisitor(index);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy