Write tests for all possible kinds of type annotation
1. Tests from #/test/tools/javac/annotations/typeAnnotations/referenceinfos should be refactored.
2. Need to add tests for ResourceVariable and MethodTypeInvocationArgument
1. Tests from #/test/tools/javac/annotations/typeAnnotations/referenceinfos should be refactored.
2. Need to add tests for ResourceVariable and MethodTypeInvocationArgument