Package ca.grimoire.formtree.receiver.annotations

Examples of ca.grimoire.formtree.receiver.annotations.FormField


    }

    private static String fieldNameFromAnnotations(Annotation[] annotations) {
        for (Annotation annotation : annotations) {
            if (annotation.annotationType() == FormField.class) {
                FormField formFieldAnnotation = (FormField) annotation;
                return formFieldAnnotation.value();
            }
        }
        throw new IllegalArgumentException(
                "Annotation list does not contain FormField annotation.");
    }
View Full Code Here

TOP

Related Classes of ca.grimoire.formtree.receiver.annotations.FormField

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.