All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AarLoader |
Loads resources from 'aar' bundles (binary distribution of Android Library Projects).
|
AbstractJavaClasspath |
|
AbstractTypedTree |
This class is intended for internal use during semantic analysis and should not be used in checks.
|
AccessorsUtils |
|
AlwaysTrueOrFalseExpressionCollector |
|
AnalysisException |
Runtime exception to be thrown during analysis, in case of major issue, for instance invalid format of a report to be parsed
|
AnalysisWarningsWrapper |
Wrap an AnalysisWarnings instance, available since SQ API 7.4.
|
AnalyzerMessage |
Class used to represent analyzer issue messages
|
AnalyzerMessage.TextSpan |
|
AnnotationTree |
Annotation.
|
AnnotationTreeImpl |
|
AnnotationValueResolve |
|
ArgumentListTreeImpl |
|
Arguments |
|
ArrayAccessExpressionTree |
Array access expression.
|
ArrayAccessExpressionTreeImpl |
|
ArrayDimensionTree |
Describe an array dimension.
|
ArrayDimensionTreeImpl |
|
ArrayTypeTree |
Array type.
|
AssertStatementTree |
'assert' statement.
|
AssertStatementTreeImpl |
|
AssessableExpressionTree |
Parent class for all ExpressionTrees, which allows to express them as their constant value
|
AssignmentExpressionTree |
Assignment expression.
|
AssignmentExpressionTreeImpl |
|
ASTUtils |
|
BaseTreeVisitor |
|
BehaviorCache |
|
BinaryExpressionTree |
Binary expression.
|
BinaryExpressionTreeImpl |
|
BinarySymbolicValue |
|
BlockStatementListTreeImpl |
|
BlockTree |
Block.
|
BlockTreeImpl |
|
BooleanConstraint |
|
BooleanGratuitousExpressionsCheck |
|
BoundListTreeImpl |
|
BreakStatementTree |
'break' statement.
|
BreakStatementTreeImpl |
|
BytecodeCFG |
|
BytecodeCFG.Block |
|
BytecodeCFGMethodVisitor |
|
BytecodeEGWalker |
|
BytecodeEGWalker.StackValueCategoryConstraint |
Because some instructions manipulate stack differently depending on the type of the value, we need this constraint to know category of the value
see https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-2.html#jvms-2.11.1 Table 2.11.1-B
|
BytecodeHelper |
|
BytecodeSECheck |
|
BytecodeSECheck.NullnessCheck |
|
BytecodeSECheck.ZeronessCheck |
|
CaseGroupTree |
Group of 'case's in a 'switch' statement.
|
CaseGroupTreeImpl |
|
CaseLabelTree |
'case' label in a 'switch' statement.
|
CaseLabelTreeImpl |
|
CatchTree |
'catch' in a 'try' statement.
|
CatchTreeImpl |
|
CFG |
|
CFG.Block |
|
CFG.IBlock<T> |
|
CFGLoop |
|
CheckerContext |
|
CheckerDispatcher |
|
CheckerDispatcher |
|
CheckerTreeNodeVisitor |
|
CheckFailureException |
|
CheckRegistrar |
This batch extension should be extended to provide the classes to be used to instantiate checks.
|
CheckRegistrar.RegistrarContext |
Context for checks registration.
|
CheckVerifier |
This interface defines how to use checks (rules) verifiers.
|
ClassLoaderBuilder |
|
ClassTree |
Class, enum, interface or annotation declaration.
|
ClassTreeImpl |
|
CognitiveComplexityVisitor |
|
CognitiveComplexityVisitor.Result |
Cognitive complexity and associated locations
|
CommentLinesVisitor |
|
CompilationUnitTree |
Compilation unit.
|
ComplexityVisitor |
|
ConditionalExpressionTree |
Conditional expression.
|
ConditionalExpressionTreeImpl |
|
ConditionalUnreachableCodeCheck |
|
Constraint |
|
ConstraintManager |
|
ConstraintsByDomain |
|
ContinueStatementTree |
'continue' statement.
|
ContinueStatementTreeImpl |
|
ControlFlowGraph |
|
ControlFlowGraph.Block |
|
Convert |
|
CustomUnclosedResourcesCheck |
|
DebugCheck |
|
DebugInterruptedExecutionCheck |
|
DebugMethodYieldsCheck |
|
DebugMethodYieldsOnInvocationsCheck |
|
DefaultJavaFileScannerContext |
|
DefaultJavaResourceLocator |
|
DivisionByZeroCheck |
|
DivisionByZeroCheck.ZeroConstraint |
|
DoWhileStatementTree |
'do' statement.
|
DoWhileStatementTreeImpl |
|
EmptyStatementTree |
Empty statement.
|
EmptyStatementTreeImpl |
|
EndOfAnalysisCheck |
Common interface for checks that are triggered at the end of the analysis, after all files have been scanned.
|
EnumConstantTree |
Enum constant.
|
EnumConstantTreeImpl |
|
ExceptionalCheckBasedYield |
|
ExceptionalYield |
|
ExceptionalYieldChecker |
|
ExceptionHandler |
Interface defining how a java check should react when errors are occurring during analysis.
|
ExceptionUtils |
|
ExplodedGraph |
|
ExplodedGraph.Edge |
|
ExplodedGraph.Node |
|
ExplodedGraphWalker |
|
ExplodedGraphWalker.ExplodedGraphTooBigException |
|
ExplodedGraphWalker.ExplodedGraphWalkerFactory |
This class ensures that the SE checks are placed in the correct order for the ExplodedGraphWalker
In addition, checks that are needed for a correct ExplodedGraphWalker processing are provided in all cases.
|
ExplodedGraphWalker.MaximumStartingStatesException |
|
ExplodedGraphWalker.MaximumStepsReachedException |
|
ExplodedGraphWalker.TooManyNestedBooleanStatesException |
|
ExportsDirectiveTree |
The 'exports' directive from java 9 module directives
JLS9 - §7.7.2
|
ExportsDirectiveTreeImpl |
|
ExpressionStatementTree |
Expression statement.
|
ExpressionStatementTreeImpl |
|
ExpressionTree |
Common interface for all types of expressions.
|
ExpressionUtils |
|
FileLinesVisitor |
Saves information about lines directly into Sonar by using FileLinesContext .
|
FilesUtils |
|
Flags |
|
Flow |
|
Flow.Builder |
|
FlowComputation |
|
ForEachStatement |
Enhanced 'for' statement.
|
ForEachStatementImpl |
|
FormalParametersListTreeImpl |
|
ForStatementTree |
'for' statement.
|
ForStatementTreeImpl |
|
GeneratedFile |
|
HappyPathYield |
|
IdentifierTree |
Identifier expression.
|
IdentifierTreeImpl |
|
IfStatementTree |
'if' statement.
|
IfStatementTreeImpl |
|
IllegalRuleParameterException |
Marker exception class for rule parameters.
|
ImportClauseTree |
Common interface for all import clauses.
|
ImportTree |
Import declaration.
|
InferedTypeTree |
|
InitializerListTreeImpl |
|
InstanceOfTree |
'instanceof' expression.
|
InstanceOfTreeImpl |
|
Instruction |
Bytecode instruction.
|
Instruction.FieldOrMethod |
|
Instruction.InvokeDynamicInsn |
|
Instruction.LdcInsn |
|
Instruction.MultiANewArrayInsn |
|
InternalCheckVerifier |
|
InternalPostfixUnaryExpression |
|
InternalPrefixUnaryExpression |
|
InternalSyntaxToken |
|
InternalSyntaxTrivia |
|
InvariantReturnCheck |
|
IssuableSubscriptionVisitor |
Subscription visitor providing an API to report issues.
|
JavaAstScanner |
|
JavaCheck |
Marker interface for all checks of the java analyzer.
|
JavaClasspath |
|
JavaClasspathProperties |
|
JavaConstants |
|
JavaFilesCache |
|
JavaFileScanner |
Common interface for all checks analyzing a java file.
|
JavaFileScannerContext |
Context injected in check classes and used to report issues.
|
JavaFileScannerContext.Location |
Message and syntaxNode for a secondary location.
|
JavaIssue |
|
JavaKeyword |
Keywords for java grammar.
|
JavaPunctuator |
Punctuators for java grammar.
|
JavaResourceLocator |
Interface to get the mapping between java classes and files (as multiple classes can be declared in one file).
|
JavaRestrictedKeyword |
Restricted keywords for java grammar.
|
JavaSonarLintClasspath |
|
JavaSquid |
|
JavaTestClasspath |
|
JavaTree |
|
JavaTree.AnnotatedTypeTree |
This interface is dedicated to mark TypeTrees which will requires completion of their annotations during parsing.
|
JavaTree.ArrayTypeTreeImpl |
|
JavaTree.CompilationUnitTreeImpl |
|
JavaTree.ImportTreeImpl |
|
JavaTree.NotImplementedTreeImpl |
|
JavaTree.PackageDeclarationTreeImpl |
|
JavaTree.ParameterizedTypeTreeImpl |
|
JavaTree.PrimitiveTypeTreeImpl |
|
JavaTree.UnionTypeTreeImpl |
|
JavaTree.WildcardTreeImpl |
|
JavaVersion |
Represents the java version used by the project under analysis.
|
JavaVersionAwareVisitor |
Implementing this interface allows a check to be executed - or not - during analysis, depending
of expected java version.
|
JavaVersionImpl |
|
JLabelSymbol |
|
JParser |
|
JSema |
|
JspCodeVisitor |
Marker interface for code visitors that are invoked on generated Java code from JSP pages.
|
JUtils |
|
LabeledStatementTree |
Labeled statement.
|
LabeledStatementTreeImpl |
|
LambdaExpressionTree |
Lambda expression.
|
LambdaExpressionTreeImpl |
|
LambdaParameterListTreeImpl |
|
LearnedAssociation |
|
LearnedConstraint |
|
LinesOfCodeVisitor |
|
ListTree<T extends Tree> |
|
ListTreeImpl<T extends Tree> |
|
LiteralTree |
Literal expression.
|
LiteralTreeImpl |
|
LiteralUtils |
|
LiveVariables |
|
LocksNotUnlockedCheck |
|
LocksNotUnlockedCheck.LockConstraint |
|
MapComputeIfAbsentOrPresentCheck |
|
Measurer |
|
MemberSelectExpressionTree |
Member select expression.
|
MemberSelectExpressionTreeImpl |
|
MethodBehavior |
|
MethodInvocationTree |
Method invocation expression.
|
MethodInvocationTreeImpl |
|
MethodLookup |
|
MethodLookup.LookupMethodVisitor |
|
MethodMatcherFactory |
|
MethodMatchers |
Immutable helper interface to help to identify method with given a Type, Name and Parameters.
|
MethodMatchers.NameBuilder |
|
MethodMatchers.ParametersBuilder |
|
MethodMatchers.TypeBuilder |
|
MethodMatchersBuilder |
|
MethodMatchersList |
|
MethodReferenceTree |
Method reference.
|
MethodReferenceTreeImpl |
|
MethodsAreNonnullByDefault |
|
MethodTree |
Method or annotation type element declaration.
|
MethodTreeImpl |
|
MethodYield |
|
MinMaxRangeCheck |
|
Modifier |
|
ModifierKeywordTree |
|
ModifierKeywordTreeImpl |
|
ModifiersTree |
Modifiers.
|
ModifiersTreeImpl |
|
ModifiersUtils |
|
ModifierTree |
|
ModuleDeclarationTree |
Module declaration.
|
ModuleDeclarationTreeImpl |
|
ModuleDirectiveTree |
Common interface for all the module directives
JLS9 - §7.7
|
ModuleDirectiveTreeImpl |
|
ModuleNameListTreeImpl |
|
ModuleNameTree |
Module Name.
|
ModuleNameTreeImpl |
|
NewArrayTree |
Array creation expression.
|
NewArrayTreeImpl |
|
NewClassTree |
Class instance creation expression.
|
NewClassTreeImpl |
|
NoneMethodMatchers |
|
NonNullSetToNullCheck |
|
NoWayOutLoopCheck |
|
NullableAnnotationUtils |
|
NullDereferenceCheck |
|
ObjectConstraint |
|
ObjectOutputStreamCheck |
|
OpensDirectiveTree |
The 'opens' directive from java 9 module directives
JLS9 - §7.7.2
|
OpensDirectiveTreeImpl |
|
OptionalGetBeforeIsPresentCheck |
|
PackageDeclarationTree |
Package declaration.
|
PackageUtils |
|
Pair<A,B> |
|
ParameterizedTypeTree |
Parameterized type.
|
ParameterNullnessCheck |
|
ParenthesizedTree |
Parenthesized expression.
|
ParenthesizedTreeImpl |
|
PCollections |
|
PMap<K,V> |
Persistent (functional) Map.
|
PrimitiveTypeTree |
Primitive type.
|
ProgramPoint |
|
ProgramState |
|
ProgramState.Pop |
|
ProgramState.SymbolicValueSymbol |
This class is used to keep on stack symbolic value together with symbol which was used to evaluate this value.
|
ProvidesDirectiveTree |
The 'provides' directive from java 9 module directives
JLS9 - §7.7.4
|
ProvidesDirectiveTreeImpl |
|
PSet<E> |
Persistent (functional) Set.
|
PStack<E> |
Persistent (functional) Stack.
|
PublicApiChecker |
|
QualifiedIdentifierListTreeImpl |
|
RedundantAssignmentsCheck |
|
RelationalSymbolicValue |
|
RelationalSymbolicValue.Kind |
|
RelationalSymbolicValue.TransitiveRelationExceededException |
|
RequiresDirectiveTree |
The 'requires' directive from java 9 module directives
JLS9 - §7.7.1
|
RequiresDirectiveTreeImpl |
|
ResourceListTreeImpl |
|
ReturnStatementTree |
'return' statement.
|
ReturnStatementTreeImpl |
|
RspecKey |
This annotation is used for rules with a legacy key to refer to the correct RSPEC.
|
SECheck |
|
SECheck.SEIssue |
|
Sema |
|
SmapFile |
SMAP format is described by JSR 45
JSR 45 defines more generic format supporting translation from multiple languages, here we implement only subset used
by Jasper for JSP to Java translation.
|
SonarComponents |
|
SonarJavaIssueFilter |
|
SonarSymbolTableVisitor |
|
SourceMap |
Represents source map between generated Java code and JSP file
|
SourceMap.Location |
|
SquidClassLoader |
Class loader, which is able to load classes from a list of JAR files and directories.
|
StatementExpressionListTreeImpl |
|
StatementTree |
Common interface for all types of statements.
|
StatementVisitor |
|
StaticInitializerTree |
Static Initializer.
|
StaticInitializerTreeImpl |
|
StreamConsumedCheck |
|
StreamConsumedCheck.StreamPipelineConstraint |
|
StreamNotConsumedCheck |
This check is used just to report issues.
|
SubscriptionVisitor |
|
SwitchExpressionTree |
'switch' expression.
|
SwitchExpressionTreeImpl |
|
SwitchStatementTree |
'switch' statement.
|
SwitchStatementTreeImpl |
|
Symbol |
Interface to access symbol information.
|
Symbol.LabelSymbol |
Label symbol.
|
Symbol.MethodSymbol |
Symbol for methods.
|
Symbol.TypeSymbol |
Symbol for a type : class, enum, interface or annotation.
|
Symbol.VariableSymbol |
Symbol for field, method parameters and local variables.
|
SymbolicExecutionMode |
|
SymbolicExecutionVisitor |
|
SymbolicValue |
|
SymbolicValue.AndSymbolicValue |
|
SymbolicValue.BooleanExpressionSymbolicValue |
|
SymbolicValue.CaughtExceptionSymbolicValue |
|
SymbolicValue.ExceptionalSymbolicValue |
|
SymbolicValue.InstanceOfSymbolicValue |
|
SymbolicValue.NotSymbolicValue |
|
SymbolicValue.OrSymbolicValue |
|
SymbolicValue.UnarySymbolicValue |
|
SymbolicValue.XorSymbolicValue |
|
SymbolicValueFactory |
|
SymbolMetadata |
Holds the metadata information (annotations) of a symbol.
|
SymbolMetadata.AnnotationInstance |
Occurrence of an annotation on a symbol.
|
SymbolMetadata.AnnotationValue |
Value of a property of an annotation.
|
SymbolMetadataResolve |
|
Symbols |
Predefined symbols.
|
Symbols.DefaultSymbol |
|
SynchronizedStatementTree |
'synchronized' statement.
|
SynchronizedStatementTreeImpl |
|
SyntacticEquivalence |
|
SyntaxHighlighterVisitor |
|
SyntaxToken |
Represents a token in the syntax tree.
|
SyntaxTreeNameFinder |
|
SyntaxTrivia |
Represents a Trivia in the SyntaxTree.
|
ThrowStatementTree |
'throw' statement.
|
ThrowStatementTreeImpl |
|
Tree |
Common interface for all nodes in a syntax tree.
|
Tree.Kind |
|
TreeVisitor |
|
TryStatementTree |
'try' statement.
|
TryStatementTreeImpl |
|
Type |
Interface to access resolved type of an expression or a Type.
|
Type.ArrayType |
Type for arrays.
|
Type.Primitives |
Primitive java types.
|
TypeArgumentListTreeImpl |
|
TypeArguments |
|
TypeCastExpressionTreeImpl |
|
TypeCastTree |
Cast expression.
|
TypedConstraint |
|
TypeParameterListTreeImpl |
|
TypeParameters |
|
TypeParameterTree |
Type parameter.
|
TypeParameterTreeImpl |
|
TypeTree |
|
TypeUnionListTreeImpl |
|
UnaryExpressionTree |
Postfix or unary expression.
|
UnclosedResourcesCheck |
|
UnclosedResourcesCheck.ResourceConstraint |
|
UnionTypeTree |
Union type expression in a multi-catch.
|
UsesDirectiveTree |
The 'uses' directive from java 9 module directives
JLS9 - §7.7.3
|
UsesDirectiveTreeImpl |
|
VariableDeclaratorListTreeImpl |
|
VariableReadExtractor |
|
VariableTree |
Variable declaration.
|
VariableTreeImpl |
|
VarTypeTree |
'var' type tree used for local variables.
|
VarTypeTreeImpl |
|
VisitorsBridge |
|
VisitorsBridgeForTests |
|
VisitorsBridgeForTests.TestJavaFileScannerContext |
|
WhileStatementTree |
'while' statement.
|
WhileStatementTreeImpl |
|
WildcardTree |
Wildcard type argument.
|
XxeProcessingCheck |
|
XxeProperty |
A property is independently a XXE feature or XXE attribute
|
XxeProperty.AttributeDTD |
|
XxeProperty.AttributeSchema |
|
XxeProperty.AttributeStyleSheet |
|
XxeProperty.FeatureDisallowDoctypeDecl |
|
XxeProperty.FeatureExternalGeneralEntities |
|
XxeProperty.FeatureIsSupportingExternalEntities |
|
XxeProperty.FeatureLoadExternalDtd |
|
XxeProperty.FeatureSupportDtd |
|
XxeProperty.XxePropertyHolder |
|