获取注解中的参数,却报空指针异常

public class Tset {
    public static void main(String[] args) throws Exception{

        Class c1 = Class.forName("annotation.user");
        use u = (use) c1.getAnnotation(use.class);
        System.out.println(u.str()); // 这里报空指针异常了,可是为什么。
    }
}


@use(str = "QWQ")
class user{
}

@interface use{
    String str();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@interface use{
    String str();
}

加上

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented

请求大佬解答,感谢了。