Examples of SingleElementAnnotation


Examples of com.asakusafw.utils.java.model.syntax.SingleElementAnnotation

                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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.