private List<Attribute> filterInterfaceMethodModifiers(List<? extends Attribute> modifiers) {
assert modifiers != null;
List<Attribute> results = Lists.create();
for (Attribute attribute : modifiers) {
if (attribute.getModelKind() == ModelKind.MODIFIER) {
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;