@Test public void hasClassExtension() { assertThat(ResourceUtils.hasClassExtension("SomeClass.class")).isTrue(); assertThat(ResourceUtils.hasClassExtension("some_path")).isFalse(); }
public static boolean hasClassExtension(String path) { return path != null && path.endsWith(CLASS_FILE_NAME_EXTENSION); }
ResourceUtils { public static boolean hasClassExtension(String path) { return path != null && path.endsWith(CLASS_FILE_NAME_EXTENSION); } }
ResourceUtils { public static boolean hasClassExtension(String path) { return path != null && path.endsWith(CLASS_FILE_NAME_EXTENSION); } private  ResourceUtils(); }
ResourceUtils { public static boolean hasClassExtension(String path) { return path != null && path.endsWith(CLASS_FILE_NAME_EXTENSION); } private  ResourceUtils(); static List<String> packagesAsResourcePath(List<String> packageNames); static String packageAsResourcePath(String packageName); static String resourcePathFromRoot(String resourcePath); static String getClassNameFromPath(String classFilePath); static String classAsResource(Class<?> clazz); static String toDescriptor(Class<? extends Annotation> annotation); static boolean isFile(URL url); static boolean closeQuietly(Closeable closeable); static boolean closeQuietly(ZipFile zipFile); static boolean hasClassExtension(String path); }
ResourceUtils { public static boolean hasClassExtension(String path) { return path != null && path.endsWith(CLASS_FILE_NAME_EXTENSION); } private  ResourceUtils(); static List<String> packagesAsResourcePath(List<String> packageNames); static String packageAsResourcePath(String packageName); static String resourcePathFromRoot(String resourcePath); static String getClassNameFromPath(String classFilePath); static String classAsResource(Class<?> clazz); static String toDescriptor(Class<? extends Annotation> annotation); static boolean isFile(URL url); static boolean closeQuietly(Closeable closeable); static boolean closeQuietly(ZipFile zipFile); static boolean hasClassExtension(String path);  }