CodeQL library for Java
Search

Predicate inheritsMatchingCreateMethodExceptThrows

If ejb inherits an ejbCreate or @Init method matching create method m except for the throws clause, then return any type in the throws clause that does not match.

Import path

import semmle.code.java.frameworks.javaee.ejb.EJB
Type inheritsMatchingCreateMethodExceptThrows(StatefulSessionEJB ejb, EjbInterfaceCreateMethod icm)