Package org.apache.beehive.netui.compiler.typesystem.declaration

Examples of org.apache.beehive.netui.compiler.typesystem.declaration.AnnotationValue


        if ( values != null )
        {
            for ( Iterator ii = values.iterator(); ii.hasNext();
            {
                AnnotationValue pathValue = ( AnnotationValue ) ii.next();

                if ( pathValue != null )
                {
                    String filePath = ( String ) pathValue.getValue();
                    if ( filePath == null || filePath.length() == 0 || filePath.charAt( 0 ) != '/' )
                    {
                        addError( value, "error.absolute-path-required-for-tiles-def" );
                    }
                }
View Full Code Here


       
        for ( Iterator ii = valuesPresent.entrySet().iterator(); ii.hasNext();
        {
            Map.Entry i = ( Map.Entry ) ii.next();
            AnnotationTypeElementDeclaration decl = ( AnnotationTypeElementDeclaration ) i.getKey();
            AnnotationValue value = ( AnnotationValue ) i.getValue();
            String memberName = decl.getSimpleName();
           
            wasPresent.add( memberName );
            onCheckMember( decl, value, annotation, parentAnnotations, classMember );
            Object grammarOrType = null;
           
            if ( ( grammarOrType = _memberGrammars.get( memberName ) ) != null )
            {
                AnnotationGrammar childGrammar = ( AnnotationGrammar ) grammarOrType;
               
                if ( childGrammar != null )   // it will be non-null unless there are other, more basic, errors
                {
                    Object result =
                        childGrammar.check( ( AnnotationInstance ) value.getValue(), parentsIncludingMe, classMember );
                   
                    if ( result != null )
                    {
                        checkResults.put( memberName, result );
                    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.typesystem.declaration.AnnotationValue

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.