(AssemblyInfoMarshallerAnnotation) c.getAnnotation( AssemblyInfoMarshallerAnnotation.class );
if ( annotation != null )
{
for ( ProgrammingLanguage programmingLanguage : annotation.programmingLanguages() )
{
AssemblyInfoMarshaller marshaller = (AssemblyInfoMarshaller) c.newInstance();
marshaller.init( programmingLanguage, new File( mavenProject.getBuild().getDirectory(),
BuildDirectories.BUILD_SOURCES_GENERATED.getBuildDirectoryName() ) );
marshallers.add( marshaller );
}
}
}