CodeQL library for Java
codeql/java-all 0.7.5 ( changelog , source )
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 )