Buggy code:
public , "FieldAccess" , "ArrayAccess" , "ClassInstanceCreationExpressionName" , "ArgumentList" , "DimWithOrWithOutExprs" , "DimWithOrWithOutExpr" , "DimsLoop" , "OneDimLoop" , "PostfixExpression" , "UnaryExpression" , "UnaryExpressionNotPlusMinus" , "MultiplicativeExpression" , "AdditiveExpression" , "ShiftExpression" , "RelationalExpression" , "EqualityExpression" , "AndExpression" , "ExclusiveOrExpression" , "InclusiveOrExpression" , "ConditionalAndExpression" , "ConditionalOrExpression" , "ConditionalExpression" , "AssignmentExpression" , "LeftHandSide" , "AssignmentOperator" } ; public static short [ ] check_table = null ; public static char [ ] lhs = null ; public static char [ ] action = Parser . lhs ; private static final String FILEPREFIX = "parser" ; public static final int RoundBracket = 0 ; public static final int SquareBracket = 1 ; public static final int CurlyBracket = 2 ; public static final int BracketKinds = 3 ; public Parser ( ProblemReporter problemReporter , boolean optimizeStringLiterals , boolean assertMode ) { } protected void adjustInterfaceModifiers ( ) { } public final void arrayInitializer ( int length ) { } protected static int asi ( int state ) { } protected void blockReal ( ) { } private static final void buildFileFor ( String filename , String tag , String [ ] tokens , boolean isShort ) throws IOException { } private static final void buildFileForTable ( String filename , char [ ] chars ) throws IOException { } public static final void buildFilesFromLPG ( String dataFilename ) throws IOException { } public RecoveredElement buildInitialRecoveryState ( ) { } protected static short check ( int i ) { } public boolean checkAndReportBracketAnomalies ( ProblemReporter problemReporter ) { } public final void checkAndSetModifiers ( int flag ) { } public void checkAnnotation ( ) { } protected void classInstanceCreation ( boolean alwaysQualified ) { } protected final void concatExpressionLists ( ) { } private final void concatNodeLists ( ) { } protected void consumeAllocationHeader ( ) { } protected void consumeArgumentList ( ) { } protected void consumeArrayAccess ( boolean unspecifiedReference ) { } protected void consumeArrayCreationExpression ( ) { } protected void consumeArrayInitializer ( ) { } protected void consumeAssertStatement ( ) { } protected void consumeAssignment ( ) { } protected void consumeAssignmentOperator ( int pos ) { } protected void consumeBinaryExpression ( int op ) { } protected void consumeBlock ( ) { } protected void consumeBlockStatements ( ) { } protected void consumeCaseLabel ( ) { } protected void consumeCastExpression ( ) { } protected void consumeCastExpressionLL1 ( ) { } protected void consumeCatches ( ) { } protected void consumeCatchHeader ( ) { } protected void consumeClassBodyDeclaration ( ) { } protected void consumeClassBodyDeclarations ( ) { } protected void consumeClassBodyDeclarationsopt ( ) { } protected void consumeClassBodyopt ( ) { } protected void consumeClassDeclaration ( ) { } protected void consumeClassHeader ( ) { } protected void consumeClassHeaderExtends ( ) { } protected void consumeClassHeaderImplements ( ) { } protected void consumeClassHeaderName ( ) { } protected void consumeClassInstanceCreationExpression ( ) { } protected void consumeClassInstanceCreationExpressionName ( ) { } protected void consumeClassInstanceCreationExpressionQualified ( ) { } protected void consumeClassTypeElt ( ) { } protected void consumeClassTypeList ( ) { } protected void consumeCompilationUnit ( ) { } protected void consumeConditionalExpression ( int op ) { } protected void consumeConstructorBlockStatements ( ) { } protected void consumeConstructorBody ( ) { } protected void consumeConstructorDeclaration ( ) { } protected void consumeInvalidConstructorDeclaration ( ) { } protected void consumeConstructorHeader ( ) { } protected void consumeConstructorHeaderName ( ) { } protected void consumeDefaultLabel ( ) { } protected void consumeDefaultModifiers ( ) { } protected void consumeDiet ( ) { } protected void consumeDims ( ) { } protected void consumeDimWithOrWithOutExpr ( ) { } protected void consumeDimWithOrWithOutExprs ( ) { } protected void consumeEmptyArgumentListopt ( ) { } protected void consumeEmptyArrayInitializer ( ) { } protected void consumeEmptyArrayInitializeropt ( ) { } protected void consumeEmptyBlockStatementsopt ( ) { } protected void consumeEmptyCatchesopt ( ) { } protected void consumeEmptyClassBodyDeclarationsopt ( ) { } protected void consumeEmptyClassMemberDeclaration ( ) { } protected void consumeEmptyDimsopt ( ) { } protected void consumeEmptyExpression ( ) { } protected void consumeEmptyForInitopt ( ) { } protected void consumeEmptyForUpdateopt ( ) { } protected void consumeEmptyImportDeclarationsopt ( ) { } protected void consumeEmptyInterfaceMemberDeclaration ( ) { } protected void consumeEmptyInterfaceMemberDeclarationsopt ( ) { } protected void consumeEmptyStatement ( ) { } protected void consumeEmptySwitchBlock ( ) { } protected void consumeEmptyTypeDeclaration ( ) { } protected void consumeEmptyTypeDeclarationsopt ( ) { } protected void consumeEnterAnonymousClassBody ( ) { } protected void consumeEnterCompilationUnit ( ) { } protected void consumeEnterVariable ( ) { } protected void consumeEqualityExpression ( int op ) { } protected void consumeExitVariableWithInitialization ( ) { } protected void consumeExitVariableWithoutInitialization ( ) { } protected void consumeExplicitConstructorInvocation ( int flag , int recFlag ) { } protected void consumeExpressionStatement ( ) { } protected void consumeFieldAccess ( boolean isSuperAccess ) { } protected void consumeFieldDeclaration ( ) { } protected void consumeForceNoDiet ( ) { } protected void consumeForInit ( ) { } protected void consumeFormalParameter ( ) { } protected void consumeFormalParameterList ( ) { } protected void consumeFormalParameterListopt ( ) { } protected void consumeImportDeclarations ( ) { } protected void consumeImportDeclarationsopt ( ) { } protected void consumeInsideCastExpression ( ) { } protected void consumeInsideCastExpressionLL1 ( ) { } protected void consumeInstanceOfExpression ( int op ) { } protected void consumeInterfaceDeclaration ( ) { } protected void consumeInterfaceHeader ( ) { } protected void consumeInterfaceHeaderExtends ( ) { } protected void consumeInterfaceHeaderName ( ) { } protected void consumeInterfaceMemberDeclarations ( ) { } protected void consumeInterfaceMemberDeclarationsopt ( ) { } protected void consumeInterfaceType ( ) { } protected void consumeInterfaceTypeList ( ) { } protected void consumeLeftHandSide ( ) { } protected void consumeLeftParen ( ) { } protected void consumeLocalVariableDeclaration ( ) { } protected void consumeLocalVariableDeclarationStatement ( ) { } protected void consumeMethodBody ( ) { } protected void consumeMethodDeclaration ( boolean isNotAbstract ) { } protected void consumeMethodHeader ( ) { } protected void consumeMethodHeaderExtendedDims ( ) { } protected void consumeMethodHeaderName ( ) { } protected void consumeMethodHeaderParameters ( ) { } protected void consumeMethodHeaderThrowsClause ( ) { } protected void consumeMethodInvocationName ( ) { } protected void consumeMethodInvocationPrimary ( ) { } protected void consumeMethodInvocationSuper ( ) { } protected void consumeMethodPushModifiersHeaderName ( ) { } protected void consumeModifiers ( ) { } protected void consumeNestedMethod ( ) { } protected void consumeNestedType ( ) { } protected void consumeOneDimLoop ( ) { } protected void consumeOnlySynchronized ( ) { } protected void consumeOpenBlock ( ) { } protected void consumePackageDeclaration ( ) { } protected void consumePackageDeclarationName ( ) { } protected void consumePostfixExpression ( ) { } protected void consumePrimaryNoNewArray ( ) { final Expression parenthesizedExpression = expressionStack [ expressionPtr ] ; updateSourcePosition ( parenthesizedExpression ) ; <START_BUG> parenthesizedExpression . bits |= AstNode . IsParenthesizedMASK ; <END_BUG>

Fix:
parenthesizedExpression . bits |= ( ( ( ( ( parenthesizedExpression . bits ) & ( AstNode . ParenthesizedMASK ) ) > > ( AstNode . ParenthesizedSHIFT ) ) & 255 ) + 1 ) << ( AstNode . ParenthesizedSHIFT ) ;