in src/main/java/com/amazon/checkerframework/checker/data_classification/DataClassificationVisitor.java [194:203]
private boolean isPolyWithNoArgs(@Nullable final AnnotatedTypeMirror atm) {
if (atm == null) {
return false;
}
AnnotationMirror anm = atm.getAnnotationInHierarchy(atypeFactory.getCanonicalPublicAnnotation());
if (anm == null) {
return false;
}
return AnnotationUtils.areSame(anm, atypeFactory.getPolyAnnotation());
}