All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AbstractClasspath |
|
AbstractRegexSyntaxElement |
|
AbstractTypedTree |
This class is intended for internal use during semantic analysis and should not be used in checks.
|
AccessorsUtils |
|
ActiveFlagsState |
|
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 |
|
AnnotationValueImpl |
|
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 |
|
AtomicGroupTree |
|
AutomatonState |
|
AutomatonState.TransitionType |
|
BackReferenceTree |
|
BaseTreeVisitor |
|
BehaviorCache |
|
Beta |
This annotation should be placed on api elements that can be changed in the future versions and do not guarantee backward compatibility
|
BinaryExpressionTree |
Binary expression.
|
BinaryExpressionTreeImpl |
|
BinarySymbolicValue |
|
BlockStatementListTreeImpl |
|
BlockTree |
Block.
|
BlockTreeImpl |
|
BooleanConstraint |
|
BooleanGratuitousExpressionsCheck |
|
BoundaryTree |
|
BoundaryTree.Type |
|
BoundListTreeImpl |
|
BranchState |
|
BreakStatementTree |
'break' statement.
|
BreakStatementTreeImpl |
|
CapturingGroupTree |
|
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 |
|
CharacterBuffer |
|
CharacterClassElementTree |
|
CharacterClassElementTree.Kind |
|
CharacterClassIntersectionTree |
|
CharacterClassTree |
|
CharacterClassUnionTree |
|
CharacterRangeTree |
|
CharacterTree |
Base class for PlainCharacterTree and UnicodeCodePointTree
|
CheckerContext |
|
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.
|
ClasspathForMain |
|
ClasspathForMainForSonarLint |
|
ClasspathForTest |
|
ClasspathProperties |
|
ClassTree |
Class, enum, interface or annotation declaration.
|
ClassTreeImpl |
|
CognitiveComplexityVisitor |
|
CognitiveComplexityVisitor.Result |
Cognitive complexity and associated locations
|
CollectionUtils |
|
CommentLinesVisitor |
|
CompilationUnitTree |
Compilation unit.
|
ComplexityVisitor |
|
ConditionalExpressionTree |
Conditional expression.
|
ConditionalExpressionTreeImpl |
|
ConditionalUnreachableCodeCheck |
|
Constraint |
|
ConstraintManager |
|
ConstraintsByDomain |
|
ContinueStatementTree |
'continue' statement.
|
ContinueStatementTreeImpl |
|
ControlFlowGraph |
|
ControlFlowGraph.Block |
|
CurlyBraceQuantifier |
|
CustomUnclosedResourcesCheck |
|
DefaultJavaFileScannerContext |
|
DefaultJavaResourceLocator |
|
DisjunctionTree |
|
DivisionByZeroCheck |
|
DivisionByZeroCheck.ZeroConstraint |
|
DotTree |
|
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.
|
EndOfCapturingGroupState |
|
EndOfLookaroundState |
|
EnumConstantTree |
Enum constant.
|
EnumConstantTreeImpl |
|
EscapedCharacterClassTree |
|
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 |
|
FinalState |
|
FlagSet |
|
Flow |
|
Flow.Builder |
|
FlowComputation |
|
ForEachStatement |
Enhanced 'for' statement.
|
ForEachStatementImpl |
|
FormalParametersListTreeImpl |
|
ForStatementTree |
'for' statement.
|
ForStatementTreeImpl |
|
GeneratedFile |
|
GroupTree |
|
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.
|
IndexRange |
|
InferedTypeTree |
|
InitializerListTreeImpl |
|
InstanceOfTree |
'instanceof' expression.
|
InstanceOfTreeImpl |
|
InternalCheckVerifier |
|
InternalPostfixUnaryExpression |
|
InternalPrefixUnaryExpression |
|
InternalSyntaxToken |
|
InternalSyntaxTrivia |
|
InternalUnaryExpression |
|
InvariantReturnCheck |
|
IssuableSubscriptionVisitor |
Subscription visitor providing an API to report issues.
|
JavaAstScanner |
|
JavaCharacter |
|
JavaCharacterParser |
Parse the contents of string literals and provide the individual characters of the string after processing escape
sequences
|
JavaCheck |
Marker interface for all checks of the java analyzer.
|
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.
|
JavaSdkUtil |
Adapted from https://github.com/JetBrains/intellij-community/blob/203.5981/jps/model-impl/src/org/jetbrains/jps/model/java/impl/JavaSdkUtil.java
|
JavaSquid |
|
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 |
|
JavaUnicodeEscapeParser |
Parses unicode escape sequences in Java code.
|
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> |
|
ListUtils |
|
LiteralTree |
Literal expression.
|
LiteralTreeImpl |
|
LiteralUtils |
|
LiveVariables |
|
Location |
|
LocksNotUnlockedCheck |
|
LocksNotUnlockedCheck.LockConstraint |
|
LookAroundTree |
|
LookAroundTree.Direction |
|
LookAroundTree.Polarity |
|
MapBuilder<K,V> |
This class is used for Java < 9 to simplify the creation of maps.
|
MapComputeIfAbsentOrPresentCheck |
|
Measurer |
|
MemberSelectExpressionTree |
Member select expression.
|
MemberSelectExpressionTreeImpl |
|
MethodBehavior |
|
MethodBehaviorJsonAdapter |
|
MethodInvocationTree |
Method invocation expression.
|
MethodInvocationTreeImpl |
|
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 |
|
MiscEscapeSequenceTree |
This class represents escape sequences inside regular expression that we don't particularly care about.
|
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 |
|
NegationState |
|
NewArrayTree |
Array creation expression.
|
NewArrayTreeImpl |
|
NewClassTree |
Class instance creation expression.
|
NewClassTreeImpl |
|
NonCapturingGroupTree |
|
NoneMethodMatchers |
|
NonNullSetToNullCheck |
|
NoWayOutLoopCheck |
|
NullableAnnotationUtils |
|
NullDereferenceCheck |
|
ObjectConstraint |
|
ObjectOutputStreamCheck |
|
OpeningQuote |
This class should only be instantiated by RegexParseResult.openingQuote() and only used when using
the opening quote of a regex as an issue location.
|
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 |
|
PlainCharacterTree |
|
PMap<K,V> |
Persistent (functional) Map.
|
Preconditions |
|
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 |
|
Quantifier |
|
Quantifier.Modifier |
|
RedundantAssignmentsCheck |
|
RegexBaseVisitor |
|
RegexCache |
|
RegexCheck |
Marker interface for rules targeting regexes
|
RegexCheck.RegexIssueLocation |
Issue location holder, replacing regex syntax elements into text spans for reporting
|
RegexLexer |
|
RegexParser |
|
RegexParseResult |
|
RegexScannerContext |
|
RegexSource |
The source code of a regular expression, made up out of 1 or more string literals
|
RegexSyntaxElement |
|
RegexToken |
|
RegexTree |
|
RegexTree.Kind |
|
RegexVisitor |
|
RelationalSymbolicValue |
|
RelationalSymbolicValue.Kind |
|
RelationalSymbolicValue.TransitiveRelationExceededException |
|
RepetitionTree |
|
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 |
|
SequenceTree |
|
SetUtils |
This class is used for Java < 9 to simplify the creation of maps.
|
SimpleModuleDirectiveTreeImpl |
|
SimpleQuantifier |
|
SimpleQuantifier.Kind |
|
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 |
|
StartOfLookBehindState |
|
StartState |
|
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.BooleanSymbolicValue |
|
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.
|
Symbols |
Predefined symbols.
|
Symbols.DefaultSymbol |
|
SynchronizedStatementTree |
'synchronized' statement.
|
SynchronizedStatementTreeImpl |
|
SyntacticEquivalence |
|
SyntaxError |
|
SyntaxHighlighterVisitor |
|
SyntaxToken |
Represents a token in the syntax tree.
|
SyntaxTreeNameFinder |
|
SyntaxTrivia |
Represents a Trivia in the SyntaxTree.
|
ThrowableUtils |
|
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 |
|
UnicodeCodePointTree |
Represents the \\x{N...N} sequence in a regular expression, which specifies a single Unicode code point.
|
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 |
|
VisibleForTesting |
This annotation should be placed on elements that exists, or is more widely visible than otherwise necessary, only for use in test code.
|
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 |
|
YieldStatementTree |
'yield' statement.
|
YieldStatementTreeImpl |
|