}
@Test
public void testSimpleBeanClassWithAutowireAttribute() throws Exception {
IType type = JdtUtils.getJavaType(project, "org.test.spring.SimpleBeanClassWithAttribute");
IAnnotationMetadata metadata = getAnnotationMetadata(type);
assertEquals(0, metadata.getTypeLevelAnnotationClasses().size());
Map<IMethod, Annotation> annotations = metadata.getMethodLevelAnnotations(Bean.class.getName());
assertEquals(1, annotations.size());
IMethod method = type.getMethods()[0];
Annotation annotation = annotations.get(method);
assertEquals(Bean.class.getName(), annotation.getAnnotationClass());