Buggy code:
private CAstNode convertExpressionListAsExpression ( IASTExpressionList e ) { } private CArraySubscriptExpression convert ( IASTArraySubscriptExpression e ) { } private CIdExpression createTemporaryVariable ( IASTExpression e ) { } private CIdExpression createInitializedTemporaryVariable ( final FileLocation loc , final CType pType , @ Nullable CExpression initializer ) { } private CIdExpression createInitializedTemporaryVariable ( final FileLocation loc , final CType pType , @ Nullable CInitializer initializer ) { } private CAstNode convert ( IASTBinaryExpression e ) { } private CBinaryExpression buildBinaryExpression ( CExpression operand1 , CExpression operand2 , BinaryOperator op ) { } private static boolean isPointerToVoid ( final IASTExpression e ) { } private static boolean isRightHandSide ( final IASTExpression e ) { } private CAstNode convert ( IASTCastExpression e ) { } private static class ContainsProblemTypeVisitor extends DefaultCTypeVisitor < Boolean , RuntimeException > { @ Override public Boolean visitDefault ( CType pT ) { } @ Override public Boolean visit ( final CArrayType t ) { } @ Override public Boolean visit ( final CElaboratedType t ) { } @ Override public Boolean visit ( final CFunctionType t ) { } @ Override public Boolean visit ( final CPointerType t ) { } @ Override public Boolean visit ( final CProblemType t ) { } @ Override public Boolean visit ( CTypedefType t ) { } } private static boolean containsProblemType ( final CType type ) { } private CFieldReference convert ( IASTFieldReference e ) { } private static List < Pair < String , CType > > getWayToInnerField ( CType owner , String fieldName , FileLocation loc , List < Pair < String , CType > > allReferences ) { } private CRightHandSide convert ( IASTFunctionCallExpression e ) { } private boolean areCompatibleTypes ( CType a , CType b ) { } private CIdExpression convert ( IASTIdExpression e ) { } private CAstNode convert ( final IASTUnaryExpression e ) { } private static BinaryOperator getNegatedOperator ( final BinaryOperator op ) { } private CExpression simplifyUnaryNotExpression ( final CExpression expr ) { } private CExpression simplifyUnaryPointerExpression ( final CExpression operand , final FileLocation fileLoc , final CType type ) { } private CTypeIdExpression convert ( IASTTypeIdExpression e ) { } private CExpression convert ( IASTTypeIdInitializerExpression e ) { } public CAstNode convert ( final IASTStatement s ) { } public CStatement convert ( final IASTExpressionStatement s ) { } public CStatement convertExpressionToStatement ( final IASTExpression e ) { } public CReturnStatement convert ( final IASTReturnStatement s ) { } public CFunctionDeclaration convert ( final IASTFunctionDefinition f ) { } public List < CDeclaration > convert ( final IASTSimpleDeclaration d ) { } private CDeclaration createDeclaration ( FileLocation fileLoc , CStorageClass cStorageClass , CType type , IASTDeclarator d ) { } private List < CCompositeTypeMemberDeclaration > convertDeclarationInCompositeType ( final IASTDeclaration d , int nofMember ) { } private CCompositeTypeMemberDeclaration createDeclarationForCompositeType ( CType type , IASTDeclarator d , int nofMember ) { } private Triple < CType , IASTInitializer , String > convert ( IASTDeclarator d , CType specifier ) { } private CType convert ( IASTArrayModifier am , CType type ) { } private Triple < CType , IASTInitializer , String > convert ( IASTFunctionDeclarator d , CType returnType , boolean isStaticFunction ) { } private Pair < CStorageClass , ? extends CType > convert ( IASTDeclSpecifier d ) { } private CCompositeType convert ( IASTCompositeTypeSpecifier d ) { List < CCompositeTypeMemberDeclaration > list = new java . util . ArrayList ( d . getMembers ( ) . length ) ; int nofMember = 0 ; for ( IASTDeclaration c : d . getMembers ( ) ) { List < CCompositeTypeMemberDeclaration > newCs = convertDeclarationInCompositeType ( c , nofMember ) ; nofMember ++ ; assert ! ( newCs . isEmpty ( ) ) ; list . addAll ( newCs ) ; } ComplexTypeKind kind ; switch ( d . getKey ( ) ) { case IASTCompositeTypeSpecifier . k_struct : kind = ComplexTypeKind . STRUCT ; break ; case IASTCompositeTypeSpecifier . k_union : kind = ComplexTypeKind . UNION ; break ; default : throw new CFAGenerationRuntimeException ( ( ( "Unknown<seq2seq4repair_space>key<seq2seq4repair_space>" + ( d . getKey ( ) ) ) + "<seq2seq4repair_space>for<seq2seq4repair_space>composite<seq2seq4repair_space>type" ) , d , niceFileNameFunction ) ; } String name = convert ( d . getName ( ) ) ; String origName = name ; if ( Strings . isNullOrEmpty ( name ) ) { name = "__anon_type_" ; if ( ( d . getStorageClass ( ) ) == ( IASTDeclSpecifier . sc_typedef ) ) { name += ( ( IASTSimpleDeclaration ) ( d . getParent ( ) ) ) . getDeclarators ( ) [ 0 ] . getName ( ) . getRawSignature ( ) ; } else { name += ( ASTConverter . anonTypeCounter ) ++ ; } } if ( origName == null ) { origName = "" ; } CCompositeType compositeType = new CCompositeType ( d . isConst ( ) , d . isVolatile ( ) , kind , list , name , origName ) ; <START_BUG> compositeType . accept ( new FillInBindingVisitor ( kind , name , compositeType ) ) ; <END_BUG> return compositeType ; } private CEnumType convert ( IASTEnumerationSpecifier d ) { } private CEnumerator convert ( IASTEnumerationSpecifier . IASTEnumerator e , Long lastValue ) { } private IASTExpression toExpression ( IASTInitializerClause i ) { } private CInitializer convert ( IASTInitializerClause i , @ Nullable CVariableDeclaration declaration ) { } private CInitializer convert ( IASTInitializer i , @ Nullable CVariableDeclaration declaration ) { } private CInitializer convert ( ICASTDesignatedInitializer init , @ Nullable CVariableDeclaration declaration ) { } private CInitializerList convert ( IASTInitializerList iList , @ Nullable CVariableDeclaration declaration ) { } private CInitializer convert ( IASTEqualsInitializer i , @ Nullable CVariableDeclaration declaration ) { } private List < CParameterDeclaration > convert ( IASTParameterDeclaration [ ] ps ) { } private CParameterDeclaration convert ( IASTParameterDeclaration p ) { } FileLocation getLocation ( final IASTNode n ) { } static String convert ( IASTName n ) { } private CType convert ( IASTTypeId t ) { } }

Fix:
compositeType . accept ( new FillInBindingVisitor ( kind , scope . getRenamedTypeName ( name ) , compositeType ) ) ;