判断类、属性、方法是否应用了某注解的方法是?

判断类、属性、方法是否应用了某注解的方法是?

A.getAnnotation

B.isAnnotationPresent

C.isAnnotation

D.Annotations

正确答案是B