Module java
Provides all default Java QL imports.
Import path
import javaPredicates
| argumentToExec | Holds if |
| bbDominates | DEPRECATED: Use |
| bbIDominates | DEPRECATED: Use |
| bbIPostDominates | The immediate post-dominance relation on basic blocks. |
| bbPostDominates | DEPRECATED: Use |
| bbStrictlyDominates | DEPRECATED: Use |
| bbStrictlyPostDominates | DEPRECATED: Use |
| declaresMember | Holds if type |
| depends | Holds if type |
| dominanceFrontier | The dominance frontier relation for basic blocks. |
| dominates | Holds if |
| erasedHaveIntersection | Holds if there is a common (reflexive, transitive) subtype of the erased types |
| hasDescendant | Holds if reference type |
| hasName | Holds if element |
| hasSubtype | Holds if reference type |
| haveIntersection | Holds if there is a common (reflexive, transitive) subtype of the erasures of types |
| iDominates | Immediate dominance relation on control-flow graph nodes. |
| javaxOrJakarta | Gets “java” or “jakarta”. |
| notHaveIntersection | Holds if there is no common (reflexive, transitive) subtype of the erasures of types |
| overridesIgnoringAccess | Auxiliary predicate: whether method |
| postDominates | Holds if |
| strictlyDominates | Holds if |
| strictlyPostDominates | Holds if |
| usesType | Bind the reference type |
Classes
| AddExpr | A binary expression using the |
| AfterAnnotation | An |
| AfterClassAnnotation | An |
| AndBitwiseExpr | A binary expression using the |
| AndLogicalExpr | A binary expression using the |
| Annotatable | An abstract representation of language elements that can be annotated. |
| AnnotatedGeneratedClass | A Java class annotated with a |
| Annotation | Any annotation used to annotate language elements with meta-information. |
| AnnotationElement | An annotation element is a member declared in an annotation type. |
| AnnotationType | An annotation type is a special kind of interface type declaration. |
| AnonymousClass | An anonymous class. |
| AntTarget | An XML element that represents an Ant target. |
| AntlrGenerated | A Java class generated by an ANTLR scanner or parser class. |
| Argument | An argument to a call. |
| ArgumentToExec | An expression used as an argument to a call that executes an external command. For calls to varargs method calls, this only includes the first argument, which will be the command to be executed. |
| Array | An array type. |
| ArrayAccess | An array access. |
| ArrayCreationExpr | An array creation expression. |
| ArrayInit | An array initializer consisting of an opening and closing curly bracket and optionally containing expressions (which themselves can be array initializers) representing the elements of the array. For example: |
| ArrayLengthField | The |
| ArrayTypeAccess | An array type access is a type access of the form |
| AssertStmt | An |
| AssignAddExpr | A compound assignment expression using the |
| AssignAndExpr | A compound assignment expression using the |
| AssignDivExpr | A compound assignment expression using the |
| AssignExpr | A simple assignment expression using the |
| AssignLeftShiftExpr | A compound assignment expression using the |
| AssignMulExpr | A compound assignment expression using the |
| AssignOp | A common super-class to represent compound assignments, which include an implicit operator. |
| AssignOrExpr | A compound assignment expression using the |
| AssignRemExpr | A compound assignment expression using the |
| AssignRightShiftExpr | A compound assignment expression using the |
| AssignSubExpr | A compound assignment expression using the |
| AssignUnsignedRightShiftExpr | A compound assignment expression using the |
| AssignXorExpr | A compound assignment expression using the |
| Assignment | A common super-class that represents many varieties of assignments. |
| AuthorTag | A Javadoc |
| BeforeAnnotation | An |
| BeforeClassAnnotation | An |
| BinaryExpr | A common super-class to represent binary operator expressions. |
| BitNotExpr | A bit negation expression. For example, |
| BitwiseExpr | A bitwise expression. |
| BlockStmt | A block of statements. |
| BooleanLiteral | A boolean literal. Either |
| BooleanType | A boolean type, which may be either a primitive or a boxed type. |
| BoundedType | A common super-class for Java types that may have a type bound. This includes type parameters and wildcards. |
| BoxedType | A boxed type. |
| BreakStmt | A |
| Call | Any call to a callable. |
| Callable | A callable is a method or constructor. |
| CastExpr | A cast expression. |
| CastingExpr | Any kind of expression that casts values from one type to another. |
| CatchClause | A |
| CharacterLiteral | A character literal. For example, |
| CharacterType | A character type, which may be either a primitive or a boxed type. |
| ChooseExpr | A conditional expression or a |
| Class | A class declaration. |
| ClassExpr | A Kotlin |
| ClassInstanceExpr | A class instance creation expression. |
| ClassNameMethod | The method |
| ClassObject | A Kotlin |
| ClassOrInterface | A class or interface. |
| ClassSimpleNameMethod | The method |
| CloneMethod | A method with the same signature as |
| CompanionObject | A Kotlin |
| ComparisonExpr | A comparison expression. |
| Compilation | An invocation of the compiler. Note that more than one file may be compiled per invocation. For example, this command compiles three source files: |
| CompilationUnit | A compilation unit is a |
| CompileTimeConstantExpr | A compile-time constant expression. |
| ConditionNode | A control-flow node that branches based on a boolean condition. |
| ConditionalExpr | A conditional expression of the form |
| ConditionalStmt | A conditional statement, including |
| ConstCase | A constant |
| Constructor | A constructor is a particular kind of callable. |
| ConstructorCall | A constructor call, which occurs either as a constructor invocation inside a constructor, or as part of a class instance expression. |
| Container | A file or folder. |
| ContinueStmt | A |
| DataClass | A Kotlin data class declaration. |
| DeclAnnotation | An |
| DefaultCase | A |
| DelegatedProperty | A Kotlin delegated property. |
| DeprecatedAnnotation | A |
| Directive | A directive in a module declaration. |
| DivExpr | A binary expression using the |
| DoStmt | A |
| Documentable | A documentable element that can have an attached Javadoc comment. |
| DoubleLiteral | A double literal. For example, |
| EQExpr | A binary expression using Java’s |
| Element | A program element that has a name. |
| EmptyStmt | The empty statement. |
| EnhancedForStmt | An enhanced |
| EnterpriseBean | An enterprise bean. |
| EntityBean | An entity bean. |
| EnumConstant | An enum constant is a member of a enum type. |
| EnumType | An enumerated type. |
| EqualityTest | An equality test is a binary expression using Java’s |
| EqualsMethod | A method with the same signature as |
| ErrorExpr | An error expression. |
| ErrorStmt | An error statement. |