Class JavaParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.ast.JavaParser
-
- All Implemented Interfaces:
JavaParserConstants,JavaParserTreeConstants
@Deprecated @InternalApi public class JavaParser extends Object implements JavaParserTreeConstants, JavaParserConstants
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description Tokenjj_ntDeprecated.Next token.protected JJTJavaParserStatejjtreeDeprecated.TokentokenDeprecated.Current token.JavaParserTokenManagertoken_sourceDeprecated.Generated Token Manager.-
Fields inherited from interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ASSIGN, AT, BANG, BINARY_LITERAL, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, ELLIPSIS, ELSE, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_FLOATING_POINT_LITERAL, HEX_LITERAL, HOOK, HORIZONTAL_WHITESPACE, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LAMBDA, LBRACE, LBRACKET, LE, LETTER, LINE_TERMINATOR, LONG, LPAREN, LSHIFT, LSHIFTASSIGN, LT, METHOD_REF, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICTFP, STRING_ESCAPE, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, TEXT_BLOCK_LITERAL, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
-
Fields inherited from interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
JJTADDITIVEEXPRESSION, JJTALLOCATIONEXPRESSION, JJTANDEXPRESSION, JJTANNOTATION, JJTANNOTATIONMETHODDECLARATION, JJTANNOTATIONTYPEBODY, JJTANNOTATIONTYPEDECLARATION, JJTANNOTATIONTYPEMEMBERDECLARATION, JJTARGUMENTLIST, JJTARGUMENTS, JJTARRAYDIMSANDINITS, JJTARRAYINITIALIZER, JJTASSERTSTATEMENT, JJTASSIGNMENTOPERATOR, JJTBLOCK, JJTBLOCKSTATEMENT, JJTBOOLEANLITERAL, JJTBREAKSTATEMENT, JJTCASTEXPRESSION, JJTCATCHSTATEMENT, JJTCLASSORINTERFACEBODY, JJTCLASSORINTERFACEBODYDECLARATION, JJTCLASSORINTERFACEDECLARATION, JJTCLASSORINTERFACETYPE, JJTCOMPILATIONUNIT, JJTCONDITIONALANDEXPRESSION, JJTCONDITIONALEXPRESSION, JJTCONDITIONALOREXPRESSION, JJTCONSTRUCTORDECLARATION, JJTCONTINUESTATEMENT, JJTDEFAULTVALUE, JJTDOSTATEMENT, JJTEMPTYSTATEMENT, JJTENUMBODY, JJTENUMCONSTANT, JJTENUMDECLARATION, JJTEQUALITYEXPRESSION, JJTEXCLUSIVEOREXPRESSION, JJTEXPLICITCONSTRUCTORINVOCATION, JJTEXPRESSION, JJTEXTENDSLIST, JJTFIELDDECLARATION, JJTFINALLYSTATEMENT, JJTFORINIT, JJTFORMALPARAMETER, JJTFORMALPARAMETERS, JJTFORSTATEMENT, JJTFORUPDATE, JJTIFSTATEMENT, JJTIMPLEMENTSLIST, JJTIMPORTDECLARATION, JJTINCLUSIVEOREXPRESSION, JJTINITIALIZER, JJTINSTANCEOFEXPRESSION, JJTLABELEDSTATEMENT, JJTLAMBDAEXPRESSION, JJTLITERAL, JJTLOCALVARIABLEDECLARATION, JJTMARKERANNOTATION, JJTMEMBERSELECTOR, JJTMEMBERVALUE, JJTMEMBERVALUEARRAYINITIALIZER, JJTMEMBERVALUEPAIR, JJTMEMBERVALUEPAIRS, JJTMETHODDECLARATION, JJTMETHODDECLARATOR, JJTMETHODREFERENCE, JJTMODULEDECLARATION, JJTMODULEDIRECTIVE, JJTMODULENAME, JJTMULTIPLICATIVEEXPRESSION, JJTNAME, JJTNAMELIST, jjtNodeName, JJTNORMALANNOTATION, JJTNULLLITERAL, JJTPACKAGEDECLARATION, JJTPOSTFIXEXPRESSION, JJTPREDECREMENTEXPRESSION, JJTPREINCREMENTEXPRESSION, JJTPRIMARYEXPRESSION, JJTPRIMARYPREFIX, JJTPRIMARYSUFFIX, JJTPRIMITIVETYPE, JJTREFERENCETYPE, JJTRELATIONALEXPRESSION, JJTRESOURCE, JJTRESOURCES, JJTRESOURCESPECIFICATION, JJTRESULTTYPE, JJTRETURNSTATEMENT, JJTRSIGNEDSHIFT, JJTRUNSIGNEDSHIFT, JJTSHIFTEXPRESSION, JJTSINGLEMEMBERANNOTATION, JJTSTATEMENT, JJTSTATEMENTEXPRESSION, JJTSTATEMENTEXPRESSIONLIST, JJTSWITCHEXPRESSION, JJTSWITCHLABEL, JJTSWITCHLABELEDBLOCK, JJTSWITCHLABELEDEXPRESSION, JJTSWITCHLABELEDTHROWSTATEMENT, JJTSWITCHSTATEMENT, JJTSYNCHRONIZEDSTATEMENT, JJTTHROWSTATEMENT, JJTTRYSTATEMENT, JJTTYPE, JJTTYPEARGUMENT, JJTTYPEARGUMENTS, JJTTYPEBOUND, JJTTYPEDECLARATION, JJTTYPEPARAMETER, JJTTYPEPARAMETERS, JJTUNARYEXPRESSION, JJTUNARYEXPRESSIONNOTPLUSMINUS, JJTVARIABLEDECLARATOR, JJTVARIABLEDECLARATORID, JJTVARIABLEINITIALIZER, JJTVOID, JJTWHILESTATEMENT, JJTWILDCARDBOUNDS, JJTYIELDSTATEMENT
-
-
Constructor Summary
Constructors Constructor Description JavaParser(net.sourceforge.pmd.lang.ast.CharStream stream)Deprecated.Constructor with user supplied CharStream.JavaParser(JavaParserTokenManager tm)Deprecated.Constructor with generated Token Manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidAdditiveExpression()Deprecated.voidAllocationExpression()Deprecated.voidAndExpression()Deprecated.voidAnnotation()Deprecated.voidAnnotationMethodDeclaration(int modifiers)Deprecated.voidAnnotationTypeBody()Deprecated.voidAnnotationTypeDeclaration(int modifiers)Deprecated.voidAnnotationTypeMemberDeclaration()Deprecated.voidArgumentList()Deprecated.voidArguments()Deprecated.voidArrayDimsAndInits()Deprecated.voidArrayInitializer()Deprecated.voidAssertStatement()Deprecated.voidAssignmentOperator()Deprecated.voidBlock()Deprecated.voidBlockStatement()Deprecated.voidBooleanLiteral()Deprecated.voidBreakStatement()Deprecated.voidCastExpression()Deprecated.voidCatchStatement()Deprecated.voidClassOrInterfaceBody()Deprecated.voidClassOrInterfaceBodyDeclaration()Deprecated.voidClassOrInterfaceDeclaration(int modifiers)Deprecated.voidClassOrInterfaceType()Deprecated.ASTCompilationUnitCompilationUnit()Deprecated.THE JAVA LANGUAGE GRAMMAR STARTS HERE *voidConditionalAndExpression()Deprecated.voidConditionalExpression()Deprecated.voidConditionalOrExpression()Deprecated.voidConstructorDeclaration(int modifiers)Deprecated.voidContinueStatement()Deprecated.voidDefaultValue()Deprecated.voiddisable_tracing()Deprecated.Disable tracing.voidDoStatement()Deprecated.voidEmptyStatement()Deprecated.voidenable_tracing()Deprecated.Enable tracing.voidEnumBody()Deprecated.voidEnumConstant()Deprecated.voidEnumDeclaration(int modifiers)Deprecated.voidEqualityExpression()Deprecated.voidExclusiveOrExpression()Deprecated.voidExplicitConstructorInvocation()Deprecated.voidExpression()Deprecated.voidExtendsList()Deprecated.voidFieldDeclaration(int modifiers)Deprecated.voidFinallyStatement()Deprecated.voidForInit()Deprecated.voidFormalParameter()Deprecated.voidFormalParameters()Deprecated.voidForStatement()Deprecated.voidForUpdate()Deprecated.ParseExceptiongenerateParseException()Deprecated.Generate ParseException.TokengetNextToken()Deprecated.Get the next Token.Map<Integer,String>getSuppressMap()Deprecated.TokengetToken(int index)Deprecated.Get the specific Token.voidIfStatement()Deprecated.voidImplementsList()Deprecated.voidImportDeclaration()Deprecated.voidInclusiveOrExpression()Deprecated.voidInitializer()Deprecated.voidInstanceOfExpression()Deprecated.voidLabeledStatement()Deprecated.voidLambdaExpression()Deprecated.voidLambdaParameter()Deprecated.voidLambdaParameterList()Deprecated.voidLambdaParameters()Deprecated.voidLambdaParameterType()Deprecated.voidLiteral()Deprecated.voidLocalClassDecl()Deprecated.voidLocalVariableDeclaration()Deprecated.voidLocalVariableType()Deprecated.voidMarkerAnnotation()Deprecated.voidMemberSelector()Deprecated.voidMemberValue()Deprecated.voidMemberValueArrayInitializer()Deprecated.voidMemberValuePair()Deprecated.voidMemberValuePairs()Deprecated.voidMethodDeclaration(int modifiers)Deprecated.voidMethodDeclarator()Deprecated.voidMethodReference()Deprecated.intModifiers()Deprecated.voidModuleDeclaration()Deprecated.voidModuleDirective()Deprecated.voidModuleName()Deprecated.voidMultiplicativeExpression()Deprecated.voidName()Deprecated.voidNameList()Deprecated.voidNormalAnnotation()Deprecated.voidNullLiteral()Deprecated.voidPackageDeclaration()Deprecated.voidPostfixExpression()Deprecated.voidPreDecrementExpression()Deprecated.voidPreIncrementExpression()Deprecated.voidPrimaryExpression()Deprecated.voidPrimaryPrefix()Deprecated.voidPrimarySuffix()Deprecated.voidPrimitiveType()Deprecated.voidReferenceType()Deprecated.voidReInit(net.sourceforge.pmd.lang.ast.CharStream stream)Deprecated.Reinitialise.voidReInit(JavaParserTokenManager tm)Deprecated.Reinitialise.voidRelationalExpression()Deprecated.voidResource()Deprecated.voidResources()Deprecated.voidResourceSpecification()Deprecated.voidResultType()Deprecated.voidReturnStatement()Deprecated.voidRSIGNEDSHIFT()Deprecated.voidRUNSIGNEDSHIFT()Deprecated.voidsetJdkVersion(int jdkVersion)Deprecated.voidsetPreview(boolean preview)Deprecated.voidsetSuppressMarker(String marker)Deprecated.voidShiftExpression()Deprecated.voidSingleMemberAnnotation()Deprecated.voidStatement()Deprecated.voidStatementExpression()Deprecated.voidStatementExpressionList()Deprecated.voidSwitchBlock()Deprecated.voidSwitchExpression()Deprecated.voidSwitchLabel()Deprecated.voidSwitchLabeledRule()Deprecated.voidSwitchLabeledRulePart()Deprecated.voidSwitchLabeledStatementGroup()Deprecated.voidSwitchStatement()Deprecated.voidSynchronizedStatement()Deprecated.voidThrowStatement()Deprecated.voidTryStatement()Deprecated.voidType()Deprecated.voidTypeAnnotation()Deprecated.voidTypeArgument()Deprecated.voidTypeArguments()Deprecated.voidTypeBound()Deprecated.voidTypeDeclaration()Deprecated.voidTypeParameter()Deprecated.voidTypeParameters()Deprecated.voidUnaryExpression()Deprecated.voidUnaryExpressionNotPlusMinus()Deprecated.voidVariableDeclarator()Deprecated.voidVariableDeclaratorId()Deprecated.voidVariableInitializer()Deprecated.voidWhileStatement()Deprecated.voidWildcardBounds()Deprecated.voidYieldStatement()Deprecated.
-
-
-
Field Detail
-
jjtree
protected JJTJavaParserState jjtree
Deprecated.
-
token_source
public JavaParserTokenManager token_source
Deprecated.Generated Token Manager.
-
token
public Token token
Deprecated.Current token.
-
jj_nt
public Token jj_nt
Deprecated.Next token.
-
-
Constructor Detail
-
JavaParser
public JavaParser(net.sourceforge.pmd.lang.ast.CharStream stream)
Deprecated.Constructor with user supplied CharStream.
-
JavaParser
public JavaParser(JavaParserTokenManager tm)
Deprecated.Constructor with generated Token Manager.
-
-
Method Detail
-
setJdkVersion
public void setJdkVersion(int jdkVersion)
Deprecated.
-
setPreview
public void setPreview(boolean preview)
Deprecated.
-
setSuppressMarker
public void setSuppressMarker(String marker)
Deprecated.
-
CompilationUnit
public final ASTCompilationUnit CompilationUnit() throws ParseException
Deprecated.THE JAVA LANGUAGE GRAMMAR STARTS HERE *- Throws:
ParseException
-
PackageDeclaration
public final void PackageDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ImportDeclaration
public final void ImportDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Modifiers
public final int Modifiers() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeDeclaration
public final void TypeDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ClassOrInterfaceDeclaration
public final void ClassOrInterfaceDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
ExtendsList
public final void ExtendsList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ImplementsList
public final void ImplementsList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
EnumDeclaration
public final void EnumDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
EnumBody
public final void EnumBody() throws ParseExceptionDeprecated.- Throws:
ParseException
-
EnumConstant
public final void EnumConstant() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeParameters
public final void TypeParameters() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeParameter
public final void TypeParameter() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeBound
public final void TypeBound() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ClassOrInterfaceBody
public final void ClassOrInterfaceBody() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ClassOrInterfaceBodyDeclaration
public final void ClassOrInterfaceBodyDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
FieldDeclaration
public final void FieldDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
VariableDeclarator
public final void VariableDeclarator() throws ParseExceptionDeprecated.- Throws:
ParseException
-
VariableDeclaratorId
public final void VariableDeclaratorId() throws ParseExceptionDeprecated.- Throws:
ParseException
-
VariableInitializer
public final void VariableInitializer() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ArrayInitializer
public final void ArrayInitializer() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MethodDeclaration
public final void MethodDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
MethodDeclarator
public final void MethodDeclarator() throws ParseExceptionDeprecated.- Throws:
ParseException
-
FormalParameters
public final void FormalParameters() throws ParseExceptionDeprecated.- Throws:
ParseException
-
FormalParameter
public final void FormalParameter() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ConstructorDeclaration
public final void ConstructorDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
ExplicitConstructorInvocation
public final void ExplicitConstructorInvocation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Initializer
public final void Initializer() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Type
public final void Type() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ReferenceType
public final void ReferenceType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ClassOrInterfaceType
public final void ClassOrInterfaceType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeArguments
public final void TypeArguments() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeArgument
public final void TypeArgument() throws ParseExceptionDeprecated.- Throws:
ParseException
-
WildcardBounds
public final void WildcardBounds() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PrimitiveType
public final void PrimitiveType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ResultType
public final void ResultType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Name
public final void Name() throws ParseExceptionDeprecated.- Throws:
ParseException
-
NameList
public final void NameList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Expression
public final void Expression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AssignmentOperator
public final void AssignmentOperator() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ConditionalExpression
public final void ConditionalExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ConditionalOrExpression
public final void ConditionalOrExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ConditionalAndExpression
public final void ConditionalAndExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
InclusiveOrExpression
public final void InclusiveOrExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ExclusiveOrExpression
public final void ExclusiveOrExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AndExpression
public final void AndExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
EqualityExpression
public final void EqualityExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
InstanceOfExpression
public final void InstanceOfExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
RelationalExpression
public final void RelationalExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ShiftExpression
public final void ShiftExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AdditiveExpression
public final void AdditiveExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MultiplicativeExpression
public final void MultiplicativeExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
UnaryExpression
public final void UnaryExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PreIncrementExpression
public final void PreIncrementExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PreDecrementExpression
public final void PreDecrementExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
UnaryExpressionNotPlusMinus
public final void UnaryExpressionNotPlusMinus() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PostfixExpression
public final void PostfixExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
CastExpression
public final void CastExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchExpression
public final void SwitchExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PrimaryExpression
public final void PrimaryExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MemberSelector
public final void MemberSelector() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MethodReference
public final void MethodReference() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PrimaryPrefix
public final void PrimaryPrefix() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LambdaExpression
public final void LambdaExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LambdaParameters
public final void LambdaParameters() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LambdaParameterList
public final void LambdaParameterList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LambdaParameter
public final void LambdaParameter() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LambdaParameterType
public final void LambdaParameterType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
PrimarySuffix
public final void PrimarySuffix() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Literal
public final void Literal() throws ParseExceptionDeprecated.- Throws:
ParseException
-
BooleanLiteral
public final void BooleanLiteral() throws ParseExceptionDeprecated.- Throws:
ParseException
-
NullLiteral
public final void NullLiteral() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Arguments
public final void Arguments() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ArgumentList
public final void ArgumentList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AllocationExpression
public final void AllocationExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ArrayDimsAndInits
public final void ArrayDimsAndInits() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Statement
public final void Statement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LabeledStatement
public final void LabeledStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Block
public final void Block() throws ParseExceptionDeprecated.- Throws:
ParseException
-
BlockStatement
public final void BlockStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LocalClassDecl
public final void LocalClassDecl() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LocalVariableDeclaration
public final void LocalVariableDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
LocalVariableType
public final void LocalVariableType() throws ParseExceptionDeprecated.- Throws:
ParseException
-
EmptyStatement
public final void EmptyStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
StatementExpression
public final void StatementExpression() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchStatement
public final void SwitchStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchBlock
public final void SwitchBlock() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchLabeledRule
public final void SwitchLabeledRule() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchLabeledRulePart
public final void SwitchLabeledRulePart() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchLabeledStatementGroup
public final void SwitchLabeledStatementGroup() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SwitchLabel
public final void SwitchLabel() throws ParseExceptionDeprecated.- Throws:
ParseException
-
YieldStatement
public final void YieldStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
IfStatement
public final void IfStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
WhileStatement
public final void WhileStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
DoStatement
public final void DoStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ForStatement
public final void ForStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ForInit
public final void ForInit() throws ParseExceptionDeprecated.- Throws:
ParseException
-
StatementExpressionList
public final void StatementExpressionList() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ForUpdate
public final void ForUpdate() throws ParseExceptionDeprecated.- Throws:
ParseException
-
BreakStatement
public final void BreakStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ContinueStatement
public final void ContinueStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ReturnStatement
public final void ReturnStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ThrowStatement
public final void ThrowStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SynchronizedStatement
public final void SynchronizedStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TryStatement
public final void TryStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ResourceSpecification
public final void ResourceSpecification() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Resources
public final void Resources() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Resource
public final void Resource() throws ParseExceptionDeprecated.- Throws:
ParseException
-
CatchStatement
public final void CatchStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
FinallyStatement
public final void FinallyStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AssertStatement
public final void AssertStatement() throws ParseExceptionDeprecated.- Throws:
ParseException
-
RUNSIGNEDSHIFT
public final void RUNSIGNEDSHIFT() throws ParseExceptionDeprecated.- Throws:
ParseException
-
RSIGNEDSHIFT
public final void RSIGNEDSHIFT() throws ParseExceptionDeprecated.- Throws:
ParseException
-
Annotation
public final void Annotation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
NormalAnnotation
public final void NormalAnnotation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MarkerAnnotation
public final void MarkerAnnotation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
SingleMemberAnnotation
public final void SingleMemberAnnotation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MemberValuePairs
public final void MemberValuePairs() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MemberValuePair
public final void MemberValuePair() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MemberValue
public final void MemberValue() throws ParseExceptionDeprecated.- Throws:
ParseException
-
MemberValueArrayInitializer
public final void MemberValueArrayInitializer() throws ParseExceptionDeprecated.- Throws:
ParseException
-
TypeAnnotation
public final void TypeAnnotation() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AnnotationTypeDeclaration
public final void AnnotationTypeDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
AnnotationTypeBody
public final void AnnotationTypeBody() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AnnotationTypeMemberDeclaration
public final void AnnotationTypeMemberDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
AnnotationMethodDeclaration
public final void AnnotationMethodDeclaration(int modifiers) throws ParseExceptionDeprecated.- Throws:
ParseException
-
DefaultValue
public final void DefaultValue() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ModuleDeclaration
public final void ModuleDeclaration() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ModuleDirective
public final void ModuleDirective() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ModuleName
public final void ModuleName() throws ParseExceptionDeprecated.- Throws:
ParseException
-
ReInit
public void ReInit(net.sourceforge.pmd.lang.ast.CharStream stream)
Deprecated.Reinitialise.
-
ReInit
public void ReInit(JavaParserTokenManager tm)
Deprecated.Reinitialise.
-
getNextToken
public final Token getNextToken()
Deprecated.Get the next Token.
-
getToken
public final Token getToken(int index)
Deprecated.Get the specific Token.
-
generateParseException
public ParseException generateParseException()
Deprecated.Generate ParseException.
-
enable_tracing
public final void enable_tracing()
Deprecated.Enable tracing.
-
disable_tracing
public final void disable_tracing()
Deprecated.Disable tracing.
-
-