CodeQL library for Java
Search

Member predicate ClassOrInterface::getAPermittedSubtype

Gets a permitted subtype in case this class or interface is a sealed class (Java 17 feature).

ClassOrInterface getAPermittedSubtype()