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/luni/src/main/java/java/lang/reflect/
DModifier.java181 public static boolean isInterface(int modifiers) { in isInterface() method in Modifier
296 if (isInterface(modifiers)) { in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java498 assertTrue("Prim type claims to be interface.", !int.class.isInterface()); in test_isInterface()
501 assertTrue("Prim Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
504 assertTrue("Interface type claims not to be interface.", clazz.isInterface()); in test_isInterface()
506 assertTrue("Object type claims to be interface.", !clazz.isInterface()); in test_isInterface()
509 assertTrue("Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
/libcore/libart/src/main/java/java/lang/reflect/
DProxy.java146 if (!c.isInterface()) { in getProxyClass()
319 if (returnType.isInterface() && vsReturnType.isInterface()) { in validateReturnTypes()
/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/libart/src/main/java/java/lang/
DClass.java718 if (!isInterface()) { in getPublicMethodsInternal()
1196 if (isInterface()) { in getSuperclass()
1274 } else if (isInterface()) { in isAssignableFrom()
1286 if (!c.isInterface()) { in isAssignableFrom()
1324 public boolean isInterface() { in isInterface() method in Class
1431 return (isInterface() ? "interface " : "class ") + getName(); in toString()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java457 if (cl.isInterface() && !Modifier.isPublic(classModifiers)) { in computeSerialVersionUID()