Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java105 assert !defc.isInterface(); // protected members aren't allowed in interfaces in isMemberAccessible()
122 assert !defc.isInterface(); // package-private members aren't allowed in interfaces in isMemberAccessible()
143 !lookupClass.isInterface(); // interfaces are types, not classes. in isSubClass()
DWrapper.java357 exampleType.isInterface()) { in wrapperType()
458 if (!type.isInterface()) in convert()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java57 assertTrue(Modifier.isInterface(Modifier.INTERFACE)); in test_isInterfaceI()
58 assertTrue(!Modifier.isInterface(-1 & ~Modifier.INTERFACE)); in test_isInterfaceI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java505 assertTrue("Prim type claims to be interface.", !int.class.isInterface()); in test_isInterface()
508 assertTrue("Prim Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
511 assertTrue("Interface type claims not to be interface.", clazz.isInterface()); in test_isInterface()
513 assertTrue("Object type claims to be interface.", !clazz.isInterface()); in test_isInterface()
516 assertTrue("Array type claims to be interface.", !clazz.isInterface()); in test_isInterface()
/libcore/ojluni/src/main/java/java/lang/
DClass.java270 return (isInterface() ? "interface " : (isPrimitive() ? "" : "class ")) in toString()
316 if (isInterface()) { // Note: all annotation types are interfaces in toGenericString()
577 } else if (isInterface()) { in isAssignableFrom()
589 if (!cls.isInterface()) { in isAssignableFrom()
607 public boolean isInterface() { in isInterface() method in Class
828 if (isInterface()) { in getSuperclass()
1534 if (!isInterface()) { in getPublicMethodsInternal()
/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/reflect/
DProxy.java633 if (!interfaceClass.isInterface()) { in apply()
765 if (returnType.isInterface() && vsReturnType.isInterface()) { in validateReturnTypes()
DModifier.java184 public static boolean isInterface(int mod) { in isInterface() method in Modifier
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandleImpl.java82 if (member.getDeclaringClass().isInterface()) { in getReferenceKind()
DMethodType.java923 return !dst.isInterface() || dst.isAssignableFrom(src); in explicitCastEquivalentToAsType()
DTransformers.java413 String s = klass.isInterface() ? "interface " : "abstract class "; in checkInstantiable()
2296 } else if (to.isInterface()) { in explicitCast()
DMethodHandles.java1953 refc.isInterface() && in checkSpecialCaller()
/libcore/luni/src/test/java/libcore/java/lang/
DLambdaImplementationTest.java345 assertFalse(lambdaClass.isInterface()); in assertGeneralLambdaClassCharacteristics()
367 assertFalse(Modifier.isInterface(classModifiers)); in assertGeneralLambdaClassCharacteristics()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java62 public boolean isInterface() { throw new RuntimeException("Stub!"); } in isInterface() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java62 public boolean isInterface() { throw new RuntimeException("Stub!"); } in isInterface() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java77 public boolean isInterface() { in isInterface() method in Class
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1615 !cl.isInterface()) in getSerialFields()
/libcore/api/
Dcurrent.txt2879 method public boolean isInterface();
4593 method public static boolean isInterface(int);