Searched refs:isInterface (Results 1 – 14 of 14) sorted by relevance
105 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()
57 assertTrue(Modifier.isInterface(Modifier.INTERFACE)); in test_isInterfaceI()58 assertTrue(!Modifier.isInterface(-1 & ~Modifier.INTERFACE)); in test_isInterfaceI()
505 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()
62 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()
82 if (member.getDeclaringClass().isInterface()) { in getReferenceKind()
923 return !dst.isInterface() || dst.isAssignableFrom(src); in explicitCastEquivalentToAsType()
1953 refc.isInterface() && in checkSpecialCaller()
633 if (!interfaceClass.isInterface()) { in apply()765 if (returnType.isInterface() && vsReturnType.isInterface()) { in validateReturnTypes()
184 public static boolean isInterface(int mod) { in isInterface() method in Modifier
345 assertFalse(lambdaClass.isInterface()); in assertGeneralLambdaClassCharacteristics()367 assertFalse(Modifier.isInterface(classModifiers)); in assertGeneralLambdaClassCharacteristics()
62 public boolean isInterface() { throw new RuntimeException("Stub!"); } in isInterface() method in Class
77 public boolean isInterface() { in isInterface() method in Class
1615 !cl.isInterface()) in getSerialFields()