Buggy code:
public void decrStackSize ( int offset ) { } public void dload ( int iArg ) { } public void dload_0 ( ) { } public void dload_1 ( ) { } public void dload_2 ( ) { } public void dload_3 ( ) { } public void dmul ( ) { } public void dneg ( ) { } public void drem ( ) { } public void dreturn ( ) { } public void dstore ( int iArg ) { } public void dstore_0 ( ) { } public void dstore_1 ( ) { } public void dstore_2 ( ) { } public void dstore_3 ( ) { } public void dsub ( ) { } public void dup ( ) { } public void dup_x1 ( ) { } public void dup_x2 ( ) { } public void dup2 ( ) { } public void dup2_x1 ( ) { } public void dup2_x2 ( ) { } public void exitUserScope ( BlockScope currentScope ) { } public void exitUserScope ( BlockScope currentScope , LocalVariableBinding binding ) { } public void f2d ( ) { } public void f2i ( ) { } public void f2l ( ) { } public void fadd ( ) { } public void faload ( ) { } public void fastore ( ) { } public void fcmpg ( ) { } public void fcmpl ( ) { } public void fconst_0 ( ) { } public void fconst_1 ( ) { } public void fconst_2 ( ) { } public void fdiv ( ) { } public void fieldAccess ( byte opcode , FieldBinding fieldBinding , TypeBinding declaringClass ) { } private void fieldAccess ( byte opcode , int returnTypeSize , char [ ] declaringClass , char [ ] fieldName , char [ ] signature ) { } public void fload ( int iArg ) { } public void fload_0 ( ) { } public void fload_1 ( ) { } public void fload_2 ( ) { } public void fload_3 ( ) { } public void fmul ( ) { } public void fneg ( ) { } public void frem ( ) { } public void freturn ( ) { } public void fstore ( int iArg ) { } public void fstore_0 ( ) { } public void fstore_1 ( ) { } public void fstore_2 ( ) { } public void fstore_3 ( ) { } public void fsub ( ) { } public void generateBoxingConversion ( int unboxedTypeID ) { } public void generateClassLiteralAccessForType ( TypeBinding accessedType , FieldBinding syntheticFieldBinding ) { } public final void generateCodeAttributeForProblemMethod ( String problemMessage ) { } public void generateConstant ( Constant constant , int implicitConversionCode ) { } public void generateEmulatedReadAccessForField ( FieldBinding fieldBinding ) { } public void generateEmulatedWriteAccessForField ( FieldBinding fieldBinding ) { } public void generateEmulationForConstructor ( Scope scope , MethodBinding methodBinding ) { } public void generateEmulationForField ( FieldBinding fieldBinding ) { } public void generateEmulationForMethod ( Scope scope , MethodBinding methodBinding ) { } public void generateImplicitConversion ( int implicitConversionCode ) { } public void generateInlinedValue ( boolean inlinedValue ) { } public void generateInlinedValue ( byte inlinedValue ) { } public void generateInlinedValue ( char inlinedValue ) { } public void generateInlinedValue ( double inlinedValue ) { } public void generateInlinedValue ( float inlinedValue ) { } public void generateInlinedValue ( int inlinedValue ) { } public void generateInlinedValue ( long inlinedValue ) { } public void generateInlinedValue ( short inlinedValue ) { } public void generateOuterAccess ( Object [ ] mappingSequence , ASTNode invocationSite , Binding target , Scope scope ) { } public void generateReturnBytecode ( Expression expression ) { } public void generateStringConcatenationAppend ( BlockScope blockScope , Expression oper1 , Expression oper2 ) { } public void generateSyntheticBodyForConstructorAccess ( SyntheticMethodBinding accessBinding ) { } public void generateSyntheticBodyForEnumValueOf ( SyntheticMethodBinding methodBinding ) { initializeMaxLocals ( methodBinding ) ; final ReferenceBinding declaringClass = methodBinding . declaringClass ; <START_BUG> this . ldc ( declaringClass ) ; <END_BUG> aload_0 ( ) ; invokeJavaLangEnumvalueOf ( declaringClass ) ; this . checkcast ( declaringClass ) ; areturn ( ) ; } public void generateSyntheticBodyForEnumValues ( SyntheticMethodBinding methodBinding ) { } public void generateSyntheticBodyForFieldReadAccess ( SyntheticMethodBinding accessMethod ) { } public void generateSyntheticBodyForFieldWriteAccess ( SyntheticMethodBinding accessMethod ) { } public void generateSyntheticBodyForMethodAccess ( SyntheticMethodBinding accessMethod ) { } public void generateSyntheticBodyForSwitchTable ( SyntheticMethodBinding methodBinding ) { } public void generateSyntheticEnclosingInstanceValues ( BlockScope currentScope , ReferenceBinding targetType , Expression enclosingInstance , ASTNode invocationSite ) { } public void generateSyntheticOuterArgumentValues ( BlockScope currentScope , ReferenceBinding targetType , ASTNode invocationSite ) { } public void generateUnboxingConversion ( int unboxedTypeID ) { } public void generateWideRevertedConditionalBranch ( byte revertedOpcode , BranchLabel wideTarget ) { } public void getBaseTypeValue ( int baseTypeID ) { } public final byte [ ] getContents ( ) { } public static TypeBinding getConstantPoolDeclaringClass ( Scope currentScope , FieldBinding codegenBinding , TypeBinding actualReceiverType , boolean isImplicitThisReceiver ) { } public static TypeBinding getConstantPoolDeclaringClass ( Scope currentScope , MethodBinding codegenBinding , TypeBinding actualReceiverType , boolean isImplicitThisReceiver ) { } protected int getPosition ( ) { } public void getTYPE ( int baseTypeID ) { } public void goto_ ( BranchLabel label ) { } public void goto_w ( BranchLabel label ) { } public void i2b ( ) { } public void i2c ( ) { } public void i2d ( ) { } public void i2f ( ) { } public void i2l ( ) { } public void i2s ( ) { } public void iadd ( ) { } public void iaload ( ) { } public void iand ( ) { } public void iastore ( ) { } public void iconst_0 ( ) { } public void iconst_1 ( ) { } public void iconst_2 ( ) { } public void iconst_3 ( ) { } public void iconst_4 ( ) { } public void iconst_5 ( ) { }

Fix:
generateClassLiteralAccessForType ( declaringClass , null ) ;