@Test public void TestIsJavaRuntimeClass() { assertTrue(ClassUtils.isJavaRuntimeClassname("java.lang.Object")); assertTrue(ClassUtils.isJavaRuntimeClassname("java.util.HashMap")); assertTrue(ClassUtils.isJavaRuntimeClassname("javax.bind")); assertFalse(ClassUtils.isJavaRuntimeClassname("org.kie")); assertFalse(ClassUtils.isJavaRuntimeClassname("com.google")); }
public static boolean isJavaRuntimeClassname(String fqcn) { return fqcn.startsWith("java"); }
ClassUtils { public static boolean isJavaRuntimeClassname(String fqcn) { return fqcn.startsWith("java"); } }
ClassUtils { public static boolean isJavaRuntimeClassname(String fqcn) { return fqcn.startsWith("java"); } ClassUtils(); }
ClassUtils { public static boolean isJavaRuntimeClassname(String fqcn) { return fqcn.startsWith("java"); } ClassUtils(); static boolean isTypeOf(Class<?> type,
                                   Object instance); static String getName(Class<?> type); static boolean isJavaRuntimeClassname(String fqcn); boolean isPrimitiveClass(Class<?> type); }
ClassUtils { public static boolean isJavaRuntimeClassname(String fqcn) { return fqcn.startsWith("java"); } ClassUtils(); static boolean isTypeOf(Class<?> type,
                                   Object instance); static String getName(Class<?> type); static boolean isJavaRuntimeClassname(String fqcn); boolean isPrimitiveClass(Class<?> type);  }