|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rj.tools.jcsc.JavaCodingStandardChecker
Grammar to parse Java version 1.5
Nested Class Summary | |
static class |
JavaCodingStandardChecker.ModifierSet
Class to hold modifiers. |
Field Summary | |
Token |
jj_nt
|
boolean |
lookingAhead
|
static java.util.ArrayList |
sAuthors
|
static int |
sCCNCount
counter to keep track of CCS (cyclomatic complexity number) |
static rj.tools.jcsc.JavaCodingStandardChecker.CurrentState |
sCurrentState
State of the current class declaration. |
static int |
sIgnoreTestSeverity
threshold severity to filter out violations on Unit-Test classes which severity is lower or equal. |
static java.lang.String |
sJVMVersion
jvm spec version |
static java.lang.StringBuffer |
sLastComment
last read comment block |
static java.lang.String |
sLastJavaDoc
last read java doc |
static int |
sLineCount
line counter; incremented by 1 for each \n found |
static java.util.ArrayList |
sMethodMetrics
|
static int |
sMethodsCount
counter to keep track of methods |
static int |
sNCSSCount
counter to keep track of NCSS (non commenting source statements) |
static boolean |
sNewLine
true if \n was lexed; has to be set to false on own accord |
static boolean |
sReturn
true if return statement was the last one |
static int |
sSpaceCount
counter to keep track of spaces after statement keyword |
static int |
sUnitTestClassCount
counter to keep track of unit test classes |
static int |
sUnitTestsCount
counter to keep track of unit tests |
static java.util.ArrayList |
sViolations
|
Token |
token
|
JavaCodingStandardCheckerTokenManager |
token_source
|
Constructor Summary | |
JavaCodingStandardChecker(java.io.InputStream stream)
|
|
JavaCodingStandardChecker(JavaCodingStandardCheckerTokenManager tm)
|
|
JavaCodingStandardChecker(java.io.Reader stream)
|
Method Summary | |
void |
AdditiveExpression()
|
void |
AllocationExpression()
|
void |
AndExpression()
|
void |
Annotation()
|
void |
AnnotationTypeBody()
|
java.lang.String |
AnnotationTypeDeclaration(JavaCodingStandardChecker.ModifierSet modifiers)
|
void |
AnnotationTypeMemberDeclaration()
|
static void |
appendComment(java.lang.String comment)
|
void |
ArgumentList()
|
void |
Arguments()
|
void |
ArrayDimsAndInits()
|
void |
ArrayInitializer()
|
void |
AssertStatement()
|
void |
AssignmentOperator()
|
void |
Block()
|
void |
BlockStatement()
|
void |
BooleanLiteral()
|
void |
BreakStatement()
|
void |
CastExpression()
|
void |
CastLookahead()
|
void |
CatchBlock()
|
void |
ClassOrInterfaceBody(boolean isInterface)
|
void |
ClassOrInterfaceBodyDeclaration(boolean isInterface)
|
java.lang.String |
ClassOrInterfaceDeclaration(JavaCodingStandardChecker.ModifierSet modifiers,
java.lang.String type)
|
java.lang.String |
ClassOrInterfaceType()
|
void |
CompilationUnit()
THE JAVA LANGUAGE GRAMMAR STARTS HERE * |
void |
ConditionalAndExpression()
|
void |
ConditionalExpression()
|
void |
ConditionalOrExpression()
|
void |
ConstructorDeclaration(JavaCodingStandardChecker.ModifierSet modifiers)
|
void |
ContinueStatement()
|
void |
DefaultValue()
|
void |
disable_tracing()
|
void |
DoStatement()
|
void |
EmptyStatement()
|
void |
enable_tracing()
|
void |
EnumBody()
|
void |
EnumConstant()
|
java.lang.String |
EnumDeclaration(JavaCodingStandardChecker.ModifierSet modifiers)
|
void |
EqualityExpression()
|
void |
ExclusiveOrExpression()
|
void |
ExplicitConstructorInvocation()
|
void |
Expression()
|
void |
ExtendsList(boolean isInterface)
|
void |
FieldDeclaration(JavaCodingStandardChecker.ModifierSet modifiers)
|
void |
FinallyBlock()
|
void |
ForInit()
|
Return.FormalParameterReturn |
FormalParameter()
|
int |
FormalParameters()
|
void |
ForStatement()
|
void |
ForUpdate()
|
ParseException |
generateParseException()
|
java.util.List |
getAuthors()
getAuthors - get list of all @authors as
a comma separated string |
int |
getLineCount()
getLineCount - get the count of lines |
int |
getMethodsCount()
getMethodsCount - call this method after a successful
parse to obtain the number of methods |
int |
getNCSSCount()
getNCSS - get the count of NCSS
non commenting source statements |
Token |
getNextToken()
|
Token |
getToken(int index)
|
int |
getUnitTestClassCount()
getUnitTestClassCount - call this method after a successful
parse to obtain the number of Unit test classes |
int |
getUnitTestsCount()
getUnitTestsCount - call this method after a successful
parse to obtain the number of Unit tests |
java.util.List |
getViolations()
getViolations - call this method after a successful
parse to obtain a List of violations. |
int |
getViolationsCount()
getViolationsCount - call this method after a successful
parse to obtain the number of violations |
static void |
handleComplexLoopExpression(java.lang.String pExpression,
int pLine,
int pColumn)
handleComplexLoopExpression checks break condition is based
on an operation rather then on a constant |
static void |
handleConditionalExpression(int pLine,
int pColumn)
handleConditionalExpression checks if cond expression are
allowd or not |
static void |
handleConstructorDeclarationJavaDoc(java.lang.String pDoc,
java.lang.String pAccess,
int pParaCount,
java.util.ArrayList pExcpts,
int pLine,
int pColumn)
handleConstructorDeclarationJavaDoc handles the javadoc for
constructor declarations. |
static void |
handleFieldDeclarationJavaDoc(java.lang.String pDoc,
java.lang.String pAccess,
int pLine,
int pColumn)
handleFieldDeclarationJavaDoc handles the javadoc for
field declarations. |
static void |
handleJavaDocTagOrder(JavaDocParser pJdp,
int pLine,
int pColumn)
handleJavaDocTagOrder handles if the javadoc tag order correct |
static void |
handleMethodDeclarationJavaDoc(java.lang.String pDoc,
java.lang.String pAccess,
java.lang.String pReturn,
int pParaCount,
java.util.ArrayList pExcpts,
int pLine,
int pColumn)
handleMethodDeclarationJavaDoc handles the javadoc for
method declarations. |
static void |
handleParaRegExp(java.lang.String pAccess,
java.lang.String pName,
int pLine,
int pColumn)
Checks if parameter does have the correct prefix |
static void |
handleSpaceAfterStatementKeyword(java.lang.String pKind,
int pLine,
int pColumn)
handleSpaceAfterStatementKeyword checks if the space count is not '0'. |
static void |
handleStringLiteral(java.lang.String pLiteral,
int pLine,
int pColumn)
handleStringLiteral checks if String literal is allowed |
static void |
handleTypeDeclarationJavaDoc(java.lang.String pDoc,
java.lang.String pType,
int pLine,
int pColumn)
handleTypeDeclarationJavaDoc handles the javadoc for
class declarations. |
static void |
handleTypeHeaderExpression(java.lang.StringBuffer pHeader,
int pLine,
int pColumn)
handleTypeHeaderExpression handles if the type (class/i-face) do start
with the correct header |
void |
IfStatement()
|
void |
ImplementsList(boolean isInterface)
|
void |
ImportDeclaration()
|
void |
InclusiveOrExpression()
|
static void |
incrementLineCount(int pCount)
incrementLineCount increments the line count |
static void |
incrementSpace()
incrementSpace is called by the tokenizer when a space is read |
void |
Initializer()
|
void |
InstanceOfExpression()
|
static boolean |
isRegexpMatch(java.lang.Object regexp,
java.lang.Object value)
isRegexpMatch return whether the regexp matches the value. |
void |
LabeledStatement()
|
void |
Literal()
|
void |
LocalVariableDeclaration()
|
void |
LoopExpression()
|
static void |
main(java.lang.String[] args)
Main - The starting point |
void |
MarkerAnnotation()
|
void |
MemberSelector()
|
void |
MemberValue()
|
void |
MemberValueArrayInitializer()
|
void |
MemberValuePair()
|
void |
MemberValuePairs()
|
void |
MethodDeclaration(JavaCodingStandardChecker.ModifierSet modifiers)
|
Return.MethodDeclaratorReturn |
MethodDeclarator()
|
JavaCodingStandardChecker.ModifierSet |
Modifiers()
|
void |
MultiplicativeExpression()
|
java.lang.String |
Name()
|
java.util.ArrayList |
NameList()
|
void |
NormalAnnotation()
|
void |
NullLiteral()
|
static void |
overviewClassResults()
During parsing global issues are checked whose result is here generated |
void |
PackageDeclaration()
|
void |
parse()
parse - do the parsing!!! |
void |
PostfixExpression()
|
void |
PreDecrementExpression()
|
void |
PreIncrementExpression()
|
void |
PrimaryExpression()
|
java.lang.String |
PrimaryPrefix()
|
java.lang.String |
PrimarySuffix()
|
java.lang.String |
PrimitiveType()
|
java.lang.String |
ReferenceType()
|
void |
ReInit(java.io.InputStream stream)
|
void |
ReInit(JavaCodingStandardCheckerTokenManager tm)
|
void |
ReInit(java.io.Reader stream)
|
void |
RelationalExpression()
|
static void |
resetLineCount()
resetLineCount resets the line counter to 0 |
static void |
resetNewLine()
resetNewLine resets the new line flag to false |
static void |
resetSpaceCount()
resetSpaceCount resets the current space count to '0' |
java.lang.String |
ResultType()
|
void |
ReturnStatement()
|
void |
RSIGNEDSHIFT()
|
void |
RUNSIGNEDSHIFT()
|
void |
setFileName(java.lang.String fileName)
setFileName - set the absolute path of the file
to be parsed |
void |
setIgnoreTestSeverity(int severity)
setIgnoreTestSeveriyt - can be used to filter violations
up to (including) a specific value on Unit-Test classes. |
static void |
setLastJavaDoc(java.lang.String doc)
setLastJavaDoc set the last JavaDoc of the current class |
static void |
setNewLine()
setNewLine resets the new line flag to true |
void |
setResultsFormatter(ResultsFormatter resultsFormatter)
setResultsFormatter - set the resulsthander to handle
the violations. |
void |
setRules(java.util.Map cache)
Set the checking rules according to a property file |
void |
ShiftExpression()
|
void |
SingleMemberAnnotation()
|
void |
SpecialStatementBlock(java.lang.String pKind)
|
void |
Statement()
|
void |
StatementExpression()
|
void |
StatementExpressionList()
|
boolean |
SwitchLabel()
|
void |
SwitchStatement()
|
void |
SynchronizedStatement()
|
void |
ThrowStatement()
|
void |
TryStatement()
|
java.lang.String |
Type()
|
void |
TypeArgument()
|
void |
TypeArguments()
|
void |
TypeBound()
|
java.lang.String |
TypeDeclaration()
|
void |
TypeParameter()
|
void |
TypeParameters()
|
void |
UnaryExpression()
|
void |
UnaryExpressionNotPlusMinus()
|
java.lang.String |
VariableDeclarator()
|
java.lang.String |
VariableDeclaratorId()
|
void |
VariableInitializer()
|
void |
WhileStatement()
|
void |
WildcardBounds()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.util.ArrayList sAuthors
public static java.util.ArrayList sViolations
public static java.util.ArrayList sMethodMetrics
public static java.lang.String sJVMVersion
public static java.lang.String sLastJavaDoc
public static java.lang.StringBuffer sLastComment
public static int sSpaceCount
public static int sUnitTestClassCount
public static int sUnitTestsCount
public static int sMethodsCount
public static int sNCSSCount
public static int sCCNCount
public static boolean sReturn
public static boolean sNewLine
public static int sLineCount
public static int sIgnoreTestSeverity
public static rj.tools.jcsc.JavaCodingStandardChecker.CurrentState sCurrentState
public JavaCodingStandardCheckerTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
public JavaCodingStandardChecker(java.io.InputStream stream)
public JavaCodingStandardChecker(java.io.Reader stream)
public JavaCodingStandardChecker(JavaCodingStandardCheckerTokenManager tm)
Method Detail |
public static void main(java.lang.String[] args)
args
- a String[]
value - the argumentspublic void parse()
parse
- do the parsing!!!
public java.util.List getViolations()
getViolations
- call this method after a successful
parse to obtain a List of violations. The violations are sorted
accorind to the configuration.
int
valuepublic int getViolationsCount()
getViolationsCount
- call this method after a successful
parse to obtain the number of violations
int
valuepublic int getUnitTestClassCount()
getUnitTestClassCount
- call this method after a successful
parse to obtain the number of Unit test classes
int
valuepublic int getUnitTestsCount()
getUnitTestsCount
- call this method after a successful
parse to obtain the number of Unit tests
int
valuepublic int getMethodsCount()
getMethodsCount
- call this method after a successful
parse to obtain the number of methods
int
valuepublic java.util.List getAuthors()
getAuthors
- get list of all @authors as
a comma separated string
List
valuepublic int getNCSSCount()
getNCSS
- get the count of NCSS
non commenting source statements
int
valuepublic int getLineCount()
getLineCount
- get the count of lines
int
valuepublic void setResultsFormatter(ResultsFormatter resultsFormatter)
setResultsFormatter
- set the resulsthander to handle
the violations. The results handler uses the output stream.
resultsFormatter
- a ResultsFormatter
valuepublic void setIgnoreTestSeverity(int severity)
setIgnoreTestSeveriyt
- can be used to filter violations
up to (including) a specific value on Unit-Test classes. That way
Unit-Test classes may only report violation which are above the value
threshold so that Unit-Test classes may have some low severity violations
public void setFileName(java.lang.String fileName)
setFileName
- set the absolute path of the file
to be parsed
fileName
- a String
valuepublic void setRules(java.util.Map cache)
public static boolean isRegexpMatch(java.lang.Object regexp, java.lang.Object value)
isRegexpMatch
return whether the regexp matches the value.
toString() is called on either of the parameters to get the string representation
regexp
- a Object
valuevalue
- a Object
value
boolean
valuepublic static void handleTypeHeaderExpression(java.lang.StringBuffer pHeader, int pLine, int pColumn)
handleTypeHeaderExpression
handles if the type (class/i-face) do start
with the correct header
pHeader
- a StringBuffer
valuepLine
- an int
valuepColumn
- an int
valuepublic static void handleParaRegExp(java.lang.String pAccess, java.lang.String pName, int pLine, int pColumn)
pName
- a value of type 'StringBuffer'pLine
- a value of type 'int'public static void overviewClassResults()
public static void incrementSpace()
incrementSpace
is called by the tokenizer when a space is read
public static void resetSpaceCount()
resetSpaceCount
resets the current space count to '0'
public static void resetNewLine()
resetNewLine
resets the new line flag to false
public static void setNewLine()
setNewLine
resets the new line flag to true
public static void incrementLineCount(int pCount)
incrementLineCount
increments the line count
pCount
- the increment valuepublic static void resetLineCount()
resetLineCount
resets the line counter to 0
public static void setLastJavaDoc(java.lang.String doc)
setLastJavaDoc
set the last JavaDoc of the current class
public static void appendComment(java.lang.String comment)
public static void handleSpaceAfterStatementKeyword(java.lang.String pKind, int pLine, int pColumn)
handleSpaceAfterStatementKeyword
checks if the space count is not '0'.
pLine
- an int
value is current line numberpKind
- a String
value is the type of the statementpublic static void handleStringLiteral(java.lang.String pLiteral, int pLine, int pColumn)
handleStringLiteral
checks if String literal is allowed
pLine
- an int
value is the current line numberpLiteral
- a String
value is the string literlpublic static void handleComplexLoopExpression(java.lang.String pExpression, int pLine, int pColumn)
handleComplexLoopExpression
checks break condition is based
on an operation rather then on a constant
pExpression
- a StringBuffer
value is the complex loop exprpLine
- a int
line numberpColumn
- an int
column numberpublic static void handleConditionalExpression(int pLine, int pColumn)
handleConditionalExpression
checks if cond expression are
allowd or not
pLine
- a int
line numberpColumn
- an int
column numberpublic static void handleTypeDeclarationJavaDoc(java.lang.String pDoc, java.lang.String pType, int pLine, int pColumn)
handleTypeDeclarationJavaDoc
handles the javadoc for
class declarations.
pDoc
- a String
valuepType
- a String
valuepLine
- a int
line numberpColumn
- an int
column numberpublic static void handleConstructorDeclarationJavaDoc(java.lang.String pDoc, java.lang.String pAccess, int pParaCount, java.util.ArrayList pExcpts, int pLine, int pColumn)
handleConstructorDeclarationJavaDoc
handles the javadoc for
constructor declarations.
pDoc
- a String
valuepAccess
- a String
valuepParaCount
- a int
valuepExcpts
- a ArrayList
valuepLine
- a int
line numberpColumn
- an int
column numberpublic static void handleMethodDeclarationJavaDoc(java.lang.String pDoc, java.lang.String pAccess, java.lang.String pReturn, int pParaCount, java.util.ArrayList pExcpts, int pLine, int pColumn)
handleMethodDeclarationJavaDoc
handles the javadoc for
method declarations.
pDoc
- a String
valuepAccess
- a String
valuepParaCount
- a int
valuepExcpts
- a ArrayList
valuepLine
- a int
line numberpColumn
- an int
column numberpublic static void handleFieldDeclarationJavaDoc(java.lang.String pDoc, java.lang.String pAccess, int pLine, int pColumn)
handleFieldDeclarationJavaDoc
handles the javadoc for
field declarations.
pDoc
- a String
valuepAccess
- a String
valuepLine
- a int
line numberpColumn
- an int
column numberpublic static void handleJavaDocTagOrder(JavaDocParser pJdp, int pLine, int pColumn)
handleJavaDocTagOrder
handles if the javadoc tag order correct
pJdp
- a JavaDocParser
valuepLine
- an int
valuepColumn
- an int
valuepublic final void CompilationUnit() throws ParseException
ParseException
public final void PackageDeclaration() throws ParseException
ParseException
public final void ImportDeclaration() throws ParseException
ParseException
public final JavaCodingStandardChecker.ModifierSet Modifiers() throws ParseException
ParseException
public final java.lang.String TypeDeclaration() throws ParseException
ParseException
public final java.lang.String ClassOrInterfaceDeclaration(JavaCodingStandardChecker.ModifierSet modifiers, java.lang.String type) throws ParseException
ParseException
public final void ExtendsList(boolean isInterface) throws ParseException
ParseException
public final void ImplementsList(boolean isInterface) throws ParseException
ParseException
public final java.lang.String EnumDeclaration(JavaCodingStandardChecker.ModifierSet modifiers) throws ParseException
ParseException
public final void EnumBody() throws ParseException
ParseException
public final void EnumConstant() throws ParseException
ParseException
public final void TypeParameters() throws ParseException
ParseException
public final void TypeParameter() throws ParseException
ParseException
public final void TypeBound() throws ParseException
ParseException
public final void ClassOrInterfaceBody(boolean isInterface) throws ParseException
ParseException
public final void ClassOrInterfaceBodyDeclaration(boolean isInterface) throws ParseException
ParseException
public final void FieldDeclaration(JavaCodingStandardChecker.ModifierSet modifiers) throws ParseException
ParseException
public final java.lang.String VariableDeclarator() throws ParseException
ParseException
public final java.lang.String VariableDeclaratorId() throws ParseException
ParseException
public final void VariableInitializer() throws ParseException
ParseException
public final void ArrayInitializer() throws ParseException
ParseException
public final void MethodDeclaration(JavaCodingStandardChecker.ModifierSet modifiers) throws ParseException
ParseException
public final Return.MethodDeclaratorReturn MethodDeclarator() throws ParseException
ParseException
public final int FormalParameters() throws ParseException
ParseException
public final Return.FormalParameterReturn FormalParameter() throws ParseException
ParseException
public final void ConstructorDeclaration(JavaCodingStandardChecker.ModifierSet modifiers) throws ParseException
ParseException
public final void ExplicitConstructorInvocation() throws ParseException
ParseException
public final void Initializer() throws ParseException
ParseException
public final java.lang.String Type() throws ParseException
ParseException
public final java.lang.String ReferenceType() throws ParseException
ParseException
public final java.lang.String ClassOrInterfaceType() throws ParseException
ParseException
public final void TypeArguments() throws ParseException
ParseException
public final void TypeArgument() throws ParseException
ParseException
public final void WildcardBounds() throws ParseException
ParseException
public final java.lang.String PrimitiveType() throws ParseException
ParseException
public final java.lang.String ResultType() throws ParseException
ParseException
public final java.lang.String Name() throws ParseException
ParseException
public final java.util.ArrayList NameList() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void AssignmentOperator() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalOrExpression() throws ParseException
ParseException
public final void ConditionalAndExpression() throws ParseException
ParseException
public final void InclusiveOrExpression() throws ParseException
ParseException
public final void ExclusiveOrExpression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void EqualityExpression() throws ParseException
ParseException
public final void InstanceOfExpression() throws ParseException
ParseException
public final void RelationalExpression() throws ParseException
ParseException
public final void ShiftExpression() throws ParseException
ParseException
public final void AdditiveExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PreIncrementExpression() throws ParseException
ParseException
public final void PreDecrementExpression() throws ParseException
ParseException
public final void UnaryExpressionNotPlusMinus() throws ParseException
ParseException
public final void CastLookahead() throws ParseException
ParseException
public final void PostfixExpression() throws ParseException
ParseException
public final void CastExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void MemberSelector() throws ParseException
ParseException
public final java.lang.String PrimaryPrefix() throws ParseException
ParseException
public final java.lang.String PrimarySuffix() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public final void NullLiteral() throws ParseException
ParseException
public final void Arguments() throws ParseException
ParseException
public final void ArgumentList() throws ParseException
ParseException
public final void AllocationExpression() throws ParseException
ParseException
public final void ArrayDimsAndInits() throws ParseException
ParseException
public final void Statement() throws ParseException
ParseException
public final void AssertStatement() throws ParseException
ParseException
public final void LabeledStatement() throws ParseException
ParseException
public final void Block() throws ParseException
ParseException
public final void BlockStatement() throws ParseException
ParseException
public final void LocalVariableDeclaration() throws ParseException
ParseException
public final void EmptyStatement() throws ParseException
ParseException
public final void StatementExpression() throws ParseException
ParseException
public final void SwitchStatement() throws ParseException
ParseException
public final boolean SwitchLabel() throws ParseException
ParseException
public final void SpecialStatementBlock(java.lang.String pKind) throws ParseException
ParseException
public final void IfStatement() throws ParseException
ParseException
public final void WhileStatement() throws ParseException
ParseException
public final void DoStatement() throws ParseException
ParseException
public final void ForStatement() throws ParseException
ParseException
public final void LoopExpression() throws ParseException
ParseException
public final void ForInit() throws ParseException
ParseException
public final void StatementExpressionList() throws ParseException
ParseException
public final void ForUpdate() throws ParseException
ParseException
public final void BreakStatement() throws ParseException
ParseException
public final void ContinueStatement() throws ParseException
ParseException
public final void ReturnStatement() throws ParseException
ParseException
public final void ThrowStatement() throws ParseException
ParseException
public final void SynchronizedStatement() throws ParseException
ParseException
public final void TryStatement() throws ParseException
ParseException
public final void CatchBlock() throws ParseException
ParseException
public final void FinallyBlock() throws ParseException
ParseException
public final void RUNSIGNEDSHIFT() throws ParseException
ParseException
public final void RSIGNEDSHIFT() throws ParseException
ParseException
public final void Annotation() throws ParseException
ParseException
public final void NormalAnnotation() throws ParseException
ParseException
public final void MarkerAnnotation() throws ParseException
ParseException
public final void SingleMemberAnnotation() throws ParseException
ParseException
public final void MemberValuePairs() throws ParseException
ParseException
public final void MemberValuePair() throws ParseException
ParseException
public final void MemberValue() throws ParseException
ParseException
public final void MemberValueArrayInitializer() throws ParseException
ParseException
public final java.lang.String AnnotationTypeDeclaration(JavaCodingStandardChecker.ModifierSet modifiers) throws ParseException
ParseException
public final void AnnotationTypeBody() throws ParseException
ParseException
public final void AnnotationTypeMemberDeclaration() throws ParseException
ParseException
public final void DefaultValue() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(JavaCodingStandardCheckerTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |