Package com.intellij.psi

Examples of com.intellij.psi.PsiArrayInitializerMemberValue


        }
        return psiAnnotationMemberValue.getText();
    }

    private List<String> annotationValuesFor(PsiAnnotation psiAnnotation) {
        PsiArrayInitializerMemberValue psiArrayInitializerMemberValue = (PsiArrayInitializerMemberValue) psiAnnotation.findAttributeValue("values");
        if (psiArrayInitializerMemberValue == null) {
            return emptyList();
        }

        PsiAnnotationMemberValue[] psiAnnotationMemberValues = psiArrayInitializerMemberValue.getInitializers();
        List<String> annotationValues = new ArrayList<String>();
        for (PsiAnnotationMemberValue psiAnnotationMemberValue : psiAnnotationMemberValues) {
            annotationValues.add(psiAnnotationMemberValue.getText());
        }
        return annotationValues;
View Full Code Here

TOP

Related Classes of com.intellij.psi.PsiArrayInitializerMemberValue

Copyright © 2018 www.massapicom. 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.