Searched refs:NonSealedDerivedClass (Results 1 – 3 of 3) sorted by relevance
95 public static sealed class BaseSealedClass permits FinalDerivedClass, NonSealedDerivedClass { class in Java17LanguageFeatures108 public static non-sealed class NonSealedDerivedClass extends BaseSealedClass { class in Java17LanguageFeatures
84 obj = new Java17LanguageFeatures.NonSealedDerivedClass(); in testSealedClass()90 private static class DerivedClass extends Java17LanguageFeatures.NonSealedDerivedClass {
543 assertFalse(NonSealedDerivedClass.class.isSealed()); in isSealed()550 assertNull(NonSealedDerivedClass.class.getPermittedSubclasses()); in getPermittedSubclasses()562 assertEquals(NonSealedDerivedClass.class, sealedAbstractClass[0]); in getPermittedSubclasses()577 permits NonSealedDerivedClass {580 public static non-sealed class NonSealedDerivedClass extends SealedAbstractClass { class in ClassTest587 public static class DerivedClass extends NonSealedDerivedClass {