Searched refs:isInterface (Results 1 – 15 of 15) 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()
357 exampleType.isInterface()) { in wrapperType()458 if (!type.isInterface()) in convert()
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()
928 return !dst.isInterface() || dst.isAssignableFrom(src); in explicitCastEquivalentToAsType()
413 String s = klass.isInterface() ? "interface " : "abstract class "; in checkInstantiable()2145 if (to.isInterface()) { in explicitCast()
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()