CodeQL library for Java/Kotlin
codeql/java-all 4.1.1-dev (changelog, source)
Search

Module StrutsEntryPoints

Import path

import semmle.code.java.deadcode.StrutsEntryPoints

Imports

DeadCode
StrutsActions
java

Provides all default Java QL imports.

Classes

ActionAccessibleClass

A class which is accessible - directly or indirectly - from a struts action.

Struts1ActionEntryPoint

Entry point for apache struts 1.x actions. All methods declared in org.apache.struts.action.Action + the default constructor are assumed to be live. If this is a DispatchAction then all public methods are live.

Struts2ActionMethodEntryPoint

A method called on a struts 2 action class when the action is activated.

Struts2PrepareMethodEntryPoint

A method called on a struts 2 action class before an action is activated.

Struts2ReflectivelyConstructedAction

A struts 2 action class that is reflectively constructed.

StrutsGetterSetter

A Struts getter or setter method is considered to be live, because it can be accessed within JSP files, for which we have no information.