public static String getFilePath(Class clz){
String className = clz.getName();
String ClassNamePath = className.replace('.', '/')+".class";
URL is = clz.getClassLoader().getResource(ClassNamePath);
String path = is.getPath();
path = path.replace("%20", " ");
return path.substring(1);
}