final TypeReference sink = TypeReference.findOrCreate(
ClassLoaderReference.Application,
TypeName.findOrCreate(JavaType.parseSingleTypeFromString(Sink.class.getCanonicalName()).toBCString(false)));
final TypeName annotationPolicy = TypeName.findOrCreate(JavaType.parseSingleTypeFromString(AnnotationPolicy.class.getCanonicalName()).toBCString());
final TypeName positionDefinition = TypeName.findOrCreate(JavaType.parseSingleTypeFromString(AnnotationPolicy.class.getCanonicalName()).toBCString());
<BUG>final Map<SDGProgramPart,Collection<Annotation>> annotations = program.getJavaSourceAnnotations();

for (final Entry<SDGProgramPart,Collection<Annotation>> e : annotations.entrySet()) {

for(final Annotation a : e.getValue()) {

debug.outln("Processing::: " + a);</BUG>
if (source.equals(a.getType())) {

final TypeReference sink = TypeReference.findOrCreate(
ClassLoaderReference.Application,
TypeName.findOrCreate(JavaType.parseSingleTypeFromString(Sink.class.getCanonicalName()).toBCString(false)));
final TypeName annotationPolicy = TypeName.findOrCreate(JavaType.parseSingleTypeFromString(AnnotationPolicy.class.getCanonicalName()).toBCString());
final TypeName positionDefinition = TypeName.findOrCreate(JavaType.parseSingleTypeFromString(AnnotationPolicy.class.getCanonicalName()).toBCString());
final Map<SDGProgramPart,Collection<Pair<Annotation,String>>> annotations = program.getJavaSourceAnnotations();
for (final Entry<SDGProgramPart,Collection<Pair<Annotation,String>>> e : annotations.entrySet()) {
for(final Pair<Annotation,String> p : e.getValue()) {
final Annotation a = p.getFirst();
final String sourceFile = p.getSecond();
debug.outln("Processing::: " + a);
if (source.equals(a.getType())) {
