Searched refs:klass (Results 1 – 5 of 5) sorted by relevance
32 Class<?> klass = C.class; in timeClass_getField() local34 klass.getField("f"); in timeClass_getField()39 Class<?> klass = C.class; in timeClass_getDeclaredField() local41 klass.getDeclaredField("f"); in timeClass_getDeclaredField()46 Class<?> klass = C.class; in timeClass_getConstructor() local48 klass.getConstructor(); in timeClass_getConstructor()53 Class<?> klass = C.class; in timeClass_newInstance() local54 Constructor constructor = klass.getConstructor(); in timeClass_newInstance()61 Class<?> klass = C.class; in timeClass_getMethod() local63 klass.getMethod("m"); in timeClass_getMethod()[all …]
22 Class<NoClassDefFoundError> klass = NoClassDefFoundError.class; in test_NoClassDefFoundError_constructor_with_cause() local24 klass.getDeclaredConstructor(String.class, Throwable.class); in test_NoClassDefFoundError_constructor_with_cause()
426 public static native long countInstancesOfClass(Class klass, boolean assignable); in countInstancesOfClass() argument571 public static native void allowHiddenApiReflectionFrom(Class<?> klass); in allowHiddenApiReflectionFrom() argument
24 extern "C" jclass Java_libcore_dalvik_system_JniTest_returnClass(JNIEnv*, jclass klass) { in Java_libcore_dalvik_system_JniTest_returnClass() argument25 return klass; in Java_libcore_dalvik_system_JniTest_returnClass()
407 private static boolean isAbstract(Class<?> klass) { in isAbstract() argument408 return (klass.getModifiers() & Modifier.ABSTRACT) == Modifier.ABSTRACT; in isAbstract()411 private static void checkInstantiable(Class<?> klass) throws InstantiationException { in checkInstantiable() argument412 if (isAbstract(klass)) { in checkInstantiable()413 String s = klass.isInterface() ? "interface " : "abstract class "; in checkInstantiable()414 throw new InstantiationException("Can't instantiate " + s + klass); in checkInstantiable()