Package com.sonar.sslr.api
Class CommentAnalyser
- java.lang.Object
-
- com.sonar.sslr.api.CommentAnalyser
-
public abstract class CommentAnalyser extends Object
-
-
Constructor Summary
Constructors Constructor Description CommentAnalyser()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getContents(String comment)
Extract the content of a comment, i.e.abstract boolean
isBlank(String line)
Check whether or not a comment line is blank
-
-
-
Method Detail
-
isBlank
public abstract boolean isBlank(String line)
Check whether or not a comment line is blank- Parameters:
line
- A line of the comment, excluding the comment tags- Returns:
- true if the line is considered blank and false otherwise
-
-