bugfixing in javaAnnotation and javaImport predicates