Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/lang/reflect/
DModifier.java148 public static boolean isInterface(int modifiers) { in isInterface() method in Modifier
317 if (isInterface(modifiers)) { in toString()
DProxy.java108 if (!next.isInterface()) { in getProxyClass()
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DModifierTest.java91 assertTrue("INTERFACE returned false", Modifier.isInterface(ALL_FLAGS)); in test_isInterfaceI()
93 .isInterface(Modifier.INTERFACE)); in test_isInterfaceI()
95 .isInterface(Modifier.TRANSIENT)); in test_isInterfaceI()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest.java1523 assertTrue("Prim type claims to be interface.", !int.class.isInterface()); in test_isInterface()
1526 assertTrue("Prim Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
1529 assertTrue("Interface type claims not to be interface.", clazz.isInterface()); in test_isInterface()
1531 assertTrue("Object type claims to be interface.", !clazz.isInterface()); in test_isInterface()
1534 assertTrue("Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
/libcore/luni/src/main/java/java/lang/
DClass.java1343 public native boolean isInterface(); in isInterface() method in Class
1420 return (isInterface() ? "interface " : "class ") + getName(); in toString()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java443 if (cl.isInterface() && !Modifier.isPublic(classModifiers)) { in computeSerialVersionUID()