Buggy code:
System . out . print ( ( ( ( ( ( ( ( ( prf + "Interface[" ) + i ) + "]<seq2seq4repair_space>is<seq2seq4repair_space>" ) + ( itf . getName ( ) ) ) + "<seq2seq4repair_space>with<seq2seq4repair_space>role<seq2seq4repair_space>" ) + ( itf . getRole ( ) ) ) + ",<seq2seq4repair_space>signature:<seq2seq4repair_space>" ) + ( itf . getSignature ( ) ) ) ) ; if ( ( itf . getCardinality ( ) ) != null ) { System . out . print ( ( ",<seq2seq4repair_space>cardinality:<seq2seq4repair_space>" + ( itf . getCardinality ( ) ) ) ) ; } if ( ( itf . getContingency ( ) ) != null ) { System . out . print ( ( ",<seq2seq4repair_space>contingency:<seq2seq4repair_space>" + ( itf . getContingency ( ) ) ) ) ; } if ( ( itf . getNumberOfElement ( ) ) != null ) { System . out . print ( ( ",<seq2seq4repair_space>number<seq2seq4repair_space>of<seq2seq4repair_space>element:<seq2seq4repair_space>" + ( itf . getNumberOfElement ( ) ) ) ) ; } System . out . println ( ) ; } if ( ASTHelper . isComposite ( definition ) ) { final Component [ ] subComponents = ( ( org . ow2 . mind . adl . ast . ComponentContainer ) ( definition ) ) . getComponents ( ) ; System . out . print ( ( ( ( ( prf + "Subcomponent<seq2seq4repair_space>quantity:<seq2seq4repair_space>" ) + ( subComponents . length ) ) + "<seq2seq4repair_space>(" ) + ( subComponents [ 0 ] . getName ( ) ) ) ) ; for ( int i = 1 ; i < ( subComponents . length ) ; i ++ ) { System . out . print ( ( ",<seq2seq4repair_space>" + ( subComponents [ i ] . getName ( ) ) ) ) ; } System . out . println ( ")" ) ; final Binding [ ] bindings = ( ( org . ow2 . mind . adl . ast . BindingContainer ) ( definition ) ) . getBindings ( ) ; if ( ( bindings . length ) == 0 ) { System . out . println ( ( prf + "No<seq2seq4repair_space>binding" ) ) ; } else { System . out . println ( ( ( prf + "Binding<seq2seq4repair_space>quantity:<seq2seq4repair_space>" ) + ( bindings . length ) ) ) ; } for ( int i = 0 ; i < ( bindings . length ) ; i ++ ) { final Binding binding = bindings [ i ] ; System . out . print ( ( ( ( ( ( ( prf + "Binding<seq2seq4repair_space>#" ) + i ) + "<seq2seq4repair_space>is<seq2seq4repair_space>from<seq2seq4repair_space>" ) + ( binding . getFromComponent ( ) ) ) + "." ) + ( binding . getFromInterface ( ) ) ) ) ; if ( ( binding . getFromInterfaceNumber ( ) ) != null ) { System . out . print ( ( ( "[" + ( binding . getFromInterfaceNumber ( ) ) ) + "]" ) ) ; } System . out . print ( ( ( ( "<seq2seq4repair_space>to<seq2seq4repair_space>" + ( binding . getToComponent ( ) ) ) + "." ) + ( binding . getToInterface ( ) ) ) ) ; if ( ( binding . getToInterfaceNumber ( ) ) != null ) { System . out . print ( ( ( "[" + ( binding . getToInterfaceNumber ( ) ) ) + "]" ) ) ; } System . out . println ( ) ; } for ( int i = 0 ; i < ( subComponents . length ) ; i ++ ) { final Component subComponent = subComponents [ i ] ; try { Definition subCompDef = ASTHelper . getResolvedComponentDefinition ( subComponent , DumpASTAnnotationProcessor . loaderItf , context ) ; if ( subCompDef == null ) subCompDef = ASTHelper . getResolvedDefinition ( subComponent . getDefinitionReference ( ) , DumpASTAnnotationProcessor . loaderItf , context ) ; System . out . println ( ( ( ( ( ( ( ( prf + "Component<seq2seq4repair_space>#" ) + i ) + ":<seq2seq4repair_space>" ) + ( subComponent . getName ( ) ) ) + "<seq2seq4repair_space>(" ) + ( subCompDef . getName ( ) ) ) + ")" ) ) ; DumpASTAnnotationProcessor . showComponents ( subCompDef , ( depth + 1 ) , context ) ; } catch ( final ADLException e ) { System . out . println ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>resolve<seq2seq4repair_space>\"" + ( subComponent . getDefinitionReference ( ) ) ) + "\"<seq2seq4repair_space>definition<seq2seq4repair_space>!" ) ) ; } } } else if ( ASTHelper . isPrimitive ( definition ) ) { final Source [ ] sources = ( ( org . ow2 . mind . adl . ast . ImplementationContainer ) ( definition ) ) . getSources ( ) ; if ( ( sources . length ) == 0 ) { System . out . println ( ( prf + "No<seq2seq4repair_space>source<seq2seq4repair_space>(implementation)" ) ) ; } else { <START_BUG> System . out . println ( ( ( prf + "Source(s)<seq2seq4repair_space>quantity:<seq2seq4repair_space>" ) + ( interfaces . length ) ) ) ; <END_BUG> } for ( int i = 0 ; i < ( sources . length ) ; i ++ ) { if ( ( sources [ i ] . getPath ( ) ) != null ) { System . out . print ( ( ( ( ( prf + "Source<seq2seq4repair_space>#" ) + i ) + "<seq2seq4repair_space>is<seq2seq4repair_space>file:<seq2seq4repair_space>" ) + ( sources [ i ] . getPath ( ) ) ) ) ; } else if ( ( sources [ i ] . getCCode ( ) ) != null ) { System . out . print ( ( ( ( prf + "Source<seq2seq4repair_space>#" ) + i ) + "<seq2seq4repair_space>is<seq2seq4repair_space>inlined<seq2seq4repair_space>C<seq2seq4repair_space>code" ) ) ; } System . out . println ( ) ; } } } public static void showDefinitionContent ( final Definition definition , final Map < Object , Object > context ) { } public Definition processAnnotation ( final Annotation annotation , final Node node , final Definition definition , final ADLLoaderPhase phase , final Map < Object , Object > context ) throws ADLException { } }

Fix:
System . out . println ( ( ( prf + "Source(s)<seq2seq4repair_space>quantity:<seq2seq4repair_space>" ) + ( sources . length ) ) ) ;