Buggy code:
private static final byte [ ] buildFileOfByteFor ( String filename , String tag , String [ ] tokens ) throws IOException { } private static final char [ ] buildFileOfIntFor ( String filename , String tag , String [ ] tokens ) throws IOException { } private static final void buildFileOfShortFor ( String filename , String tag , String [ ] tokens ) throws IOException { } public static final void buildFilesFromLPG ( String dataFilename , String dataFilename2 ) throws IOException { } public static int in_symbol ( int state ) { } public static final void initTables ( ) throws IOException { } public static int nasi ( int state ) { } public static int ntAction ( int state , int sym ) { } protected static int original_state ( int state ) { } protected static byte [ ] readByteTable ( String filename ) throws IOException { } protected static String [ ] readNameTable ( String filename ) throws IOException { } protected static String [ ] readReadableNameTable ( String filename ) { } protected static char [ ] readTable ( String filename ) throws IOException { } protected static long [ ] readLongTable ( String filename ) throws IOException { } public static int tAction ( int state , int sym ) { } public Parser ( ProblemReporter problemReporter , boolean optimizeStringLiterals ) { } public void arrayInitializer ( int length ) { } protected void blockReal ( ) { } public RecoveredElement buildInitialRecoveryState ( ) { } protected void checkAndSetModifiers ( int flag ) { } public void checkComment ( ) { } protected void checkNonExternalizedStringLiteral ( ) { } protected void checkNonNLSAfterBodyEnd ( int declarationEnd ) { } protected void classInstanceCreation ( boolean hasClassBody ) { } protected void concatExpressionLists ( ) { } protected void concatGenericsLists ( ) { } protected void concatNodeLists ( ) { } protected void consumeAdditionalBound ( ) { } protected void consumeAdditionalBound1 ( ) { } protected void consumeAdditionalBoundList ( ) { } protected void consumeAdditionalBoundList1 ( ) { } protected void consumeAllocationHeader ( ) { } protected void consumeAnnotationAsModifier ( ) { } protected void consumeAnnotationTypeDeclaration ( ) { } protected void consumeAnnotationTypeDeclarationHeader ( ) { } protected void consumeAnnotationTypeMemberDeclarationHeader ( ) { } protected void consumeAnnotationTypeMemberDeclarationHeaderWithTypeParameters ( ) { } protected void consumeAnnotationTypeMemberHeaderExtendedDims ( ) { } protected void consumeAnnotationTypeMemberDeclaration ( ) { } protected void consumeAnnotationTypeMemberDeclarations ( ) { } protected void consumeArgumentList ( ) { } protected void consumeArguments ( ) { } protected void consumeArrayAccess ( boolean unspecifiedReference ) { } protected void consumeArrayCreationExpressionWithInitializer ( ) { } protected void consumeArrayCreationExpressionWithoutInitializer ( ) { } protected void consumeArrayCreationHeader ( ) { } protected void consumeArrayInitializer ( ) { } protected void consumeArrayTypeWithTypeArgumentsName ( ) { } protected void consumeAssertStatement ( ) { } protected void consumeAssignment ( ) { } protected void consumeAssignmentOperator ( int pos ) { } protected void consumeBinaryExpression ( int op ) { } protected void consumeBinaryExpressionWithName ( int op ) { } protected void consumeBlock ( ) { } protected void consumeBlockStatements ( ) { } protected void consumeCaseLabel ( ) { } protected void consumeCastExpressionLL1 ( ) { } protected void consumeCastExpressionWithGenericsArray ( ) { } protected void consumeCastExpressionWithNameArray ( ) { } protected void consumeCastExpressionWithPrimitiveType ( ) { } protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide ( TypeReference rightSide , int dim ) { } protected void consumeCastExpressionWithQualifiedGenericsArray ( ) { } protected void consumeCatches ( ) { } protected void consumeCatchHeader ( ) { } protected void consumeClassBodyDeclaration ( ) { } protected void consumeClassBodyDeclarations ( ) { } protected void consumeClassBodyDeclarationsopt ( ) { } protected void consumeClassBodyopt ( ) { } protected void consumeClassDeclaration ( ) { int length ; if ( ( length = this . astLengthStack [ ( ( this . astLengthPtr ) -- ) ] ) != 0 ) { dispatchDeclarationInto ( length ) ; } TypeDeclaration typeDecl = ( ( TypeDeclaration ) ( this . astStack [ this . astPtr ] ) ) ; markInitializersWithLocalType ( typeDecl ) ; boolean hasConstructor = typeDecl . checkConstructors ( this ) ; if ( ! hasConstructor ) { <START_BUG> switch ( typeDecl . getKind ( ) ) { <END_BUG> case CLASS : case ENUM : boolean insideFieldInitializer = false ; if ( this . diet ) { for ( int i = this . nestedType ; i > 0 ; i -- ) { if ( ( this . variablesCounter [ i ] ) > 0 ) { insideFieldInitializer = true ; break ; } } } typeDecl . createDefaultConstructor ( ( ( ! ( this . diet ) ) || insideFieldInitializer ) , true ) ; } } if ( this . scanner . containsAssertKeyword ) { typeDecl . bits |= AddAssertionMASK ; } typeDecl . addClinit ( ) ; typeDecl . bodyEnd = this . endStatementPosition ; if ( ( length == 0 ) && ( ! ( containsComment ( typeDecl . bodyStart , typeDecl . bodyEnd ) ) ) ) { typeDecl . bits |= UndocumentedEmptyBlockMASK ; } typeDecl . declarationSourceEnd = flushCommentsDefinedPriorTo ( this . endStatementPosition ) ; } protected void consumeClassHeader ( ) { } protected void consumeClassHeaderExtends ( ) { } protected void consumeClassHeaderImplements ( ) { } protected void consumeClassHeaderName1 ( ) { } protected void consumeTypeHeaderNameWithTypeParameters ( ) { } protected void consumeClassInstanceCreationExpression ( ) { } protected void consumeClassInstanceCreationExpressionName ( ) { } protected void consumeClassInstanceCreationExpressionQualified ( ) { } protected void consumeClassInstanceCreationExpressionQualifiedWithTypeArguments ( ) { } protected void consumeClassInstanceCreationExpressionWithTypeArguments ( ) { } protected void consumeClassOrInterface ( ) { } protected void consumeClassOrInterfaceName ( ) { } protected void consumeClassTypeElt ( ) { } protected void consumeClassTypeList ( ) { } protected void consumeCompilationUnit ( ) { } protected void consumeConditionalExpression ( int op ) { } protected void consumeConditionalExpressionWithName ( int op ) { } protected void consumeConstructorBlockStatements ( ) { }

Fix:
switch ( typeDecl . kind ( ) ) {