比如public @NonNegative Integer example(@Negative Integer value) {
return value;
},这里的@NonNegative 和@Negative是什么意思呢?这哪来的呢?
还有一种是
@Service
36
public class ApiInsertService {
38
@Autowired
39
private ApiMetaColumnMapper apiMetaColumnMapper;
@SuppressWarnings("unchecked")
这几个@又是什么意思?这些service Autowired 是关键字吗?谢谢!!
那如果是在类型前面的,也是属于注解?比如@NonNegative,你意思是,这个NonNegative是关键字?
本回答被提问者和网友采纳