Home
last modified time | relevance | path

Searched refs:isInterface (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java53 assertTrue(Modifier.isInterface(Modifier.INTERFACE)); in test_isInterfaceI()
54 assertTrue(!Modifier.isInterface(-1 & ~Modifier.INTERFACE)); in test_isInterfaceI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java501 assertTrue("Prim type claims to be interface.", !int.class.isInterface()); in test_isInterface()
504 assertTrue("Prim Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
507 assertTrue("Interface type claims not to be interface.", clazz.isInterface()); in test_isInterface()
509 assertTrue("Object type claims to be interface.", !clazz.isInterface()); in test_isInterface()
512 assertTrue("Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java62 assertTrue("INTERFACE returned false", Modifier.isInterface(ALL_FLAGS)); in test_isInterfaceI()
64 .isInterface(Modifier.INTERFACE)); in test_isInterfaceI()
66 .isInterface(Modifier.TRANSIENT)); in test_isInterfaceI()
/libcore/ojluni/src/main/java/java/lang/
DClass.java287 return (isInterface() ? "interface " : (isPrimitive() ? "" : "class ")) in toString()
533 } else if (isInterface()) { in isAssignableFrom()
545 if (!c.isInterface()) { in isAssignableFrom()
563 public boolean isInterface() { in isInterface() method in Class
778 if (isInterface()) { in getSuperclass()
1433 if (!isInterface()) { in getPublicMethodsInternal()
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java425 if (!interfaceClass.isInterface()) { in getProxyClass0()
663 if (returnType.isInterface() && vsReturnType.isInterface()) { in validateReturnTypes()
DModifier.java170 public static boolean isInterface(int mod) { in isInterface() method in Modifier
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1549 !cl.isInterface()) in getSerialFields()