|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectua.gradsoft.javachecker.CheckerComment
public class CheckerComment
This class is a checker comment: i. e. expression, which developer put in comment before checked expression. example:
!checker: disable(all) !
class X {
.....
}
will disable all check in this class.
!checker: disable(style)will disable style checks.
| Method Summary | |
|---|---|
static CheckerComment |
extract(java.lang.String comment)
try to extract checker comment from comment. |
boolean |
isBean()
|
boolean |
isDisable(java.lang.String checkName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isBean()
public boolean isDisable(java.lang.String checkName)
public static CheckerComment extract(java.lang.String comment)
throws InvalidCheckerCommentException
Comment - - comment to extract from.
InvalidCheckerCommentExcepton - if we find checker comment, but expression inside is incorrect.
InvalidCheckerCommentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||