SWITCHYARD-1470 fix JavaTypeScanner so it parses the correct annotations