Buggy code:
public void illegalAbstractModifierCombinationForMethod ( ReferenceBinding type , AbstractMethodDeclaration methodDecl ) { } public void illegalClassLiteralForTypeVariable ( TypeVariableBinding variable , ASTNode location ) { } public void illegalExtendedDimensions ( AnnotationMethodDeclaration annotationTypeMemberDeclaration ) { } public void illegalExtendedDimensions ( Argument argument ) { } public void illegalGenericArray ( TypeBinding leadtComponentType , ASTNode location ) { } public void illegalInstanceOfGenericType ( TypeBinding checkedType , ASTNode location ) { } public void illegalLocalTypeDeclaration ( TypeDeclaration typeDeclaration ) { } public void illegalModifierCombinationFinalAbstractForClass ( SourceTypeBinding type ) { } public void illegalModifierCombinationFinalVolatileForField ( ReferenceBinding type , FieldDeclaration fieldDecl ) { } public void illegalModifierForAnnotationField ( FieldDeclaration fieldDecl ) { } public void illegalModifierForAnnotationMember ( AbstractMethodDeclaration methodDecl ) { } public void illegalModifierForAnnotationMemberType ( SourceTypeBinding type ) { } public void illegalModifierForAnnotationType ( SourceTypeBinding type ) { } public void illegalModifierForClass ( SourceTypeBinding type ) { } public void illegalModifierForEnum ( SourceTypeBinding type ) { } public void illegalModifierForEnumConstant ( ReferenceBinding type , FieldDeclaration fieldDecl ) { } public void illegalModifierForEnumConstructor ( AbstractMethodDeclaration constructor ) { } public void illegalModifierForField ( ReferenceBinding type , FieldDeclaration fieldDecl ) { } public void illegalModifierForInterface ( SourceTypeBinding type ) { } public void illegalModifierForInterfaceField ( FieldDeclaration fieldDecl ) { } public void illegalModifierForInterfaceMethod ( AbstractMethodDeclaration methodDecl ) { } public void illegalModifierForLocalClass ( SourceTypeBinding type ) { } public void illegalModifierForLocalEnum ( SourceTypeBinding type ) { } public void illegalModifierForMemberClass ( SourceTypeBinding type ) { } public void illegalModifierForMemberEnum ( SourceTypeBinding type ) { } public void illegalModifierForMemberInterface ( SourceTypeBinding type ) { } public void illegalModifierForMethod ( AbstractMethodDeclaration methodDecl ) { } public void illegalModifierForVariable ( LocalDeclaration localDecl , boolean complainAsArgument ) { } public void illegalPrimitiveOrArrayTypeForEnclosingInstance ( TypeBinding enclosingType , ASTNode location ) { } public void illegalQualifiedParameterizedTypeAllocation ( TypeReference qualifiedTypeReference , TypeBinding allocatedType ) { } public void illegalStaticModifierForMemberType ( SourceTypeBinding type ) { } public void illegalUsageOfQualifiedTypeReference ( QualifiedTypeReference qualifiedTypeReference ) { } public void illegalVararg ( Argument argType , AbstractMethodDeclaration methodDecl ) { } public void illegalVisibilityModifierCombinationForField ( ReferenceBinding type , FieldDeclaration fieldDecl ) { } public void illegalVisibilityModifierCombinationForMemberType ( SourceTypeBinding type ) { } public void illegalVisibilityModifierCombinationForMethod ( ReferenceBinding type , AbstractMethodDeclaration methodDecl ) { } public void illegalVisibilityModifierForInterfaceMemberType ( SourceTypeBinding type ) { } public void illegalVoidExpression ( ASTNode location ) { } public void importProblem ( ImportReference importRef , Binding expectedImport ) { } public void incompatibleExceptionInThrowsClause ( SourceTypeBinding type , MethodBinding currentMethod , MethodBinding inheritedMethod , ReferenceBinding exceptionType ) { } public void incompatibleReturnType ( MethodBinding currentMethod , MethodBinding inheritedMethod ) { } public void incorrectArityForParameterizedType ( ASTNode location , TypeBinding type , TypeBinding [ ] argumentTypes ) { } public void incorrectLocationForNonEmptyDimension ( ArrayAllocationExpression expression , int index ) { } public void incorrectSwitchType ( Expression expression , TypeBinding testType ) { } public void indirectAccessToStaticField ( ASTNode location , FieldBinding field ) { } public void indirectAccessToStaticMethod ( ASTNode location , MethodBinding method ) { } public void indirectAccessToStaticType ( ASTNode location , ReferenceBinding type ) { } public void inheritedMethodReducesVisibility ( SourceTypeBinding type , MethodBinding concreteMethod , MethodBinding [ ] abstractMethods ) { } public void inheritedMethodsHaveIncompatibleReturnTypes ( SourceTypeBinding type , MethodBinding [ ] inheritedMethods , int length ) { } public void inheritedMethodsHaveNameClash ( SourceTypeBinding type , MethodBinding oneMethod , MethodBinding twoMethod ) { } public void initializerMustCompleteNormally ( FieldDeclaration fieldDecl ) { } public void innerTypesCannotDeclareStaticInitializers ( ReferenceBinding innerType , Initializer initializer ) { } public void interfaceCannotHaveConstructors ( ConstructorDeclaration constructor ) { } public void interfaceCannotHaveInitializers ( SourceTypeBinding type , FieldDeclaration fieldDecl ) { } public void invalidAnnotationMemberType ( MethodDeclaration methodDecl ) { } public void invalidBreak ( ASTNode location ) { } public void invalidConstructor ( Statement statement , MethodBinding targetConstructor ) { } public void invalidContinue ( ASTNode location ) { } public void invalidEnclosingType ( Expression expression , TypeBinding type , ReferenceBinding enclosingType ) { if ( enclosingType . isAnonymousType ( ) ) enclosingType = enclosingType . superclass ( ) ; <START_BUG> if ( ( enclosingType . sourceName . length ) == 0 ) <END_BUG> return ; int flag = IProblem . UndefinedType ; switch ( type . problemId ( ) ) { case ProblemReasons . NotFound : flag = IProblem . UndefinedType ; break ; case ProblemReasons . NotVisible : flag = IProblem . NotVisibleType ; break ; case ProblemReasons . Ambiguous : flag = IProblem . AmbiguousType ; break ; case ProblemReasons . InternalNameProvided : flag = IProblem . InternalTypeNameProvided ; break ; case ProblemReasons . NoError : default : needImplementation ( ) ; break ; } this . handle ( flag , new String [ ] { ( ( new String ( enclosingType . readableName ( ) ) ) + "." ) + ( new String ( type . readableName ( ) ) ) } , new String [ ] { ( ( new String ( enclosingType . shortReadableName ( ) ) ) + "." ) + ( new String ( type . shortReadableName ( ) ) ) } , expression . sourceStart , expression . sourceEnd ) ; } public void invalidExplicitConstructorCall ( ASTNode location ) { } public void invalidExpressionAsStatement ( Expression expression ) { } public void invalidField ( FieldReference fieldRef , TypeBinding searchedType ) { } public void invalidField ( NameReference nameRef , FieldBinding field ) { } public void invalidField ( QualifiedNameReference nameRef , FieldBinding field , int index , TypeBinding searchedType ) { } public void invalidFileNameForPackageAnnotations ( Annotation annotation ) { } public void invalidMethod ( MessageSend messageSend , MethodBinding method ) { } public void invalidNullToSynchronize ( Expression expression ) { } public void invalidOperator ( BinaryExpression expression , TypeBinding leftType , TypeBinding rightType ) { } public void invalidOperator ( CompoundAssignment assign , TypeBinding leftType , TypeBinding rightType ) { } public void invalidOperator ( UnaryExpression expression , TypeBinding type ) { } public void invalidParameterizedExceptionType ( TypeBinding exceptionType , ASTNode location ) { } public void invalidParenthesizedExpression ( ASTNode reference ) { }

Fix:
if ( ( ( enclosingType . sourceName ) != null ) && ( ( enclosingType . sourceName . length ) == 0 ) )