Package org.sonar.plugins.java.api
Interface JavaFileScanner
-
- All Superinterfaces:
JavaCheck
- All Known Subinterfaces:
JavaResourceLocator
- All Known Implementing Classes:
BooleanGratuitousExpressionsCheck
,CommentLinesVisitor
,ConditionalUnreachableCodeCheck
,CustomUnclosedResourcesCheck
,DebugInterruptedExecutionCheck
,DebugMethodYieldsCheck
,DebugMethodYieldsOnInvocationsCheck
,DefaultJavaResourceLocator
,DivisionByZeroCheck
,FileLinesVisitor
,InvariantReturnCheck
,IssuableSubscriptionVisitor
,JavaFilesCache
,LinesOfCodeVisitor
,LocksNotUnlockedCheck
,MapComputeIfAbsentOrPresentCheck
,Measurer
,Measurer.TestFileMeasurer
,MinMaxRangeCheck
,NonNullSetToNullCheck
,NoWayOutLoopCheck
,NullDereferenceCheck
,ObjectOutputStreamCheck
,OptionalGetBeforeIsPresentCheck
,ParameterNullnessCheck
,RedundantAssignmentsCheck
,SECheck
,StreamConsumedCheck
,StreamNotConsumedCheck
,SubscriptionVisitor
,SymbolicExecutionVisitor
,SyntaxHighlighterVisitor
,UCFGJavaVisitor
,UnclosedResourcesCheck
@Beta public interface JavaFileScanner extends JavaCheck
Common interface for all checks analyzing a java file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
scanFile(JavaFileScannerContext context)
Method called after parsing and semantic analysis has been done on file.
-
-
-
Method Detail
-
scanFile
void scanFile(JavaFileScannerContext context)
Method called after parsing and semantic analysis has been done on file.- Parameters:
context
- Context of analysis containing the parsed tree.
-
-