Module EntryPoints

Import path

semmle.code.java.deadcode.EntryPoints

Imports

CamelEntryPoints

Apache Camel is a messaging framework, which can integrate with Spring.

DeadCode
GigaSpacesXAPEntryPoints

GigaSpaces XAP (eXtreme Application Platform) is a distributed in-memory “datagrid”.

JAXB

Definitions related to JAXB.

JMX

Provides classes and predicates for working with JMX bean types.

JavaServerFaces
JavaxAnnotations
JaxWS
Reflection

Provides classes and predicates for working with Java Reflection.

Selenium

Provides classes and predicates for identifying classes reflectively constructed by Selenium using the PageFactory.initElements(...) method.

SpringEntryPoints
StrutsEntryPoints
TestEntryPoints
WebEntryPoints
java

Provides all default Java QL imports.

Classes

AnnotationEntryPoint

Classes that are entry points recognised by annotations.

ArbitraryXMLEntryPoint

A source class which is referred to by fully qualified name in the value of an arbitrary XML attribute which has a name containing “className” or “ClassName”.

BeanClass

Entry point for bean classes. Should be extended to define any project specific types of bean.

CallableEntryPoint

An entry point corresponding to a single method or constructor.

CallableEntryPointOnConstructedClass

An entry point that is a single method, that is only live if there is a live constructor on the class.

DeserializedClass
EJBHome

Entry point for EJB home interfaces.

EJBObject

Entry point for EJB object interfaces.

EntryPoint

An entry point into our system, marking some number of Callables as live.

FacesAccessibleMethodEntryPoint

Entry point for methods that may be called by Java Server Faces.

FacesComponentReflectivelyConstructedClass

A Java Server Faces custom component, that is reflectively constructed by the framework when used in a view (JSP or facelet).

FacesManagedBeanEntryPoint

Entry point for Java Server Faces ManagedBeans.

GsonDeserializationEntryPoint
J2EEBean

Entry point for J2EE beans (EnterpriseBean, EntityBean, MessageBean, SessionBean).

JAXAnnotationReflectivelyConstructedClass
JAXBDeserializationEntryPoint
JacksonMixinCallableEntryPoint

A callable that is used when applying Jackson mixins.

JacksonReflectivelyConstructedClass

Classes that are deserialized by Jackson are reflectively constructed.

JavaxManagedBeanReflectivelyConstructed

A javax.annotation.ManagedBean annotated class, which may be constructed by a container of some description.

JavaxResourceAnnotatedMethod

A javax.annotation for a method that is called to inject a resource into the class.

JaxRsBeanParamConstructorEntryPoint

A constructor that may be called when injecting values into a JaxRS resource class constructor or method.

JaxRsResourceClassEntry

A JAX RS resource class. @GET and @POST annotated methods are reflectively called by the container. The class itself may be reflectively constructed by the container.

JaxWsEndpointEntry

A JAX WS endpoint is constructed by the container, and its methods are – where annotated – called remotely.

JaxbXmlEnum

An enum annotated with @XmlEnum can be used by JAXB when constructing objects reflectively based on the contents of XML files. Unlike classes, these are never referred to from the @XmlRegistry class, because they do not need to be instantiated, just used. We therefore need to special case them.

JaxbXmlRegistry

A JAXB XML registry, used reflectively to construct objects based on the contents of XML files.

JaxbXmlType

A type annotated with @XmlType, indicating that this class is used when marshalling or unmarshalling XML documents.

LibOverrideMethodEntry

A method that overrides a library method – the result is that when the library calls the overridden method, it may instead call this method, which makes it live even if we don’t directly see the call.

MainMethodEntry

A public static void main(String[] args) method.

ManagedBeanImplEntryPoint

Entry point for methods that can be accessed through JMX.

NewInstanceCall

A call to Class.newInstance() or Constructor.newInstance() which may imply that a number of constructors are live.

PersistenceCallbackMethod

Methods that are registered by annotations as callbacks for certain Java persistence events.

PersistencePropertyMethod

A method (getter or setter) called on a persistent entity class by the persistence framework.

PersistentEntityEntryPoint

Classes marked as Java persistence entities can be reflectively constructed when the data is loaded.

PreOrPostDIMethod

A javax.annotation for a method that is called after or before dependency injection on a type.

ReflectiveMethodAccessEntryPoint

A call to either Class.getMethod(...) or Class.getDeclaredMethod(...).

ReflectivelyConstructedClass

A class that may be constructed reflectively, making its default constructor live.

SeleniumPageObjectEntryPoint

A Selenium PageObject, created by a call to PageFactory.initElements(..).

WhitelistedLiveCallable

A callable which is dead, but should be considered as live.