org.sfm.reflect.asm.AsmHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleFlatMapper Show documentation
Show all versions of simpleFlatMapper Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.sfm.reflect.asm;
public class AsmHelper {
private static final boolean asmPresent = _isAsmPresent();
private static boolean _isAsmPresent() {
try {
return !Class.forName("org.objectweb.asm.ClassVisitor").isInterface();
} catch(Exception e) {
return false;
}
}
public static boolean isAsmPresent() {
return asmPresent;
}
}