ModifierKind kind = ((Modifier) attribute).getModifierKind();
if (kind == ModifierKind.PUBLIC || kind == ModifierKind.ABSTRACT) {
continue;
}
} else if (attribute.getModelKind() == ModelKind.SINGLE_ELEMENT_ANNOTATION) {
SingleElementAnnotation an = (SingleElementAnnotation) attribute;
Name name = an.getType().getName();
if (name.toNameString().equals(SuppressWarnings.class.getSimpleName())) {
continue;
}
}
results.add(attribute);