Package org.apache.beehive.netui.compiler.grammar

Examples of org.apache.beehive.netui.compiler.grammar.CommandHandlerGrammar


        }
       
        FlowControllerInfo fcInfo = new FlowControllerInfo( jpfClass );
        fcInfo.startBuild( getEnv(), jpfClass );
       
        CommandHandlerGrammar chg =
                new CommandHandlerGrammar( getEnv(), getDiagnostics(), getRuntimeVersionChecker(), jpfClass, fcInfo );
        MethodDeclaration[] methods = CompilerUtils.getClassMethods( jclass, COMMAND_HANDLER_TAG_NAME );

        for ( int i = 0; i < methods.length; i++ )
        {
            MethodDeclaration method = methods[i];
            getFBSourceFileInfo().addCommandHandler( method.getSimpleName() );
            chg.check( CompilerUtils.getAnnotation( method, COMMAND_HANDLER_TAG_NAME ), null, method );
        }
       
        Map checkResultMap = new HashMap();
        checkResultMap.put( JpfLanguageConstants.ExtraInfoKeys.facesBackingInfo, getSourceFileInfo() );
        return checkResultMap;
View Full Code Here


        // Don't run these checks if there's no associated page flow controller (or if it's in error).
        if (jpfClass != null) {
            FlowControllerInfo fcInfo = new FlowControllerInfo( jpfClass );
            fcInfo.startBuild( getEnv(), jpfClass );
           
            CommandHandlerGrammar chg =
                    new CommandHandlerGrammar( getEnv(), getDiagnostics(), getRuntimeVersionChecker(), jpfClass, fcInfo );
            MethodDeclaration[] methods = CompilerUtils.getClassMethods( jclass, COMMAND_HANDLER_TAG_NAME );
   
            for ( int i = 0; i < methods.length; i++ )
            {
                MethodDeclaration method = methods[i];
                getFBSourceFileInfo().addCommandHandler( method.getSimpleName() );
                chg.check( CompilerUtils.getAnnotation( method, COMMAND_HANDLER_TAG_NAME ), null, method );
            }
           
            Map checkResultMap = new HashMap();
            checkResultMap.put( JpfLanguageConstants.ExtraInfoKeys.facesBackingInfo, getSourceFileInfo() );
            return checkResultMap;
View Full Code Here

        // Don't run these checks if there's no associated page flow controller (or if it's in error).
        if (jpfClass != null) {
            FlowControllerInfo fcInfo = new FlowControllerInfo( jpfClass );
            fcInfo.startBuild( getEnv(), jpfClass );
           
            CommandHandlerGrammar chg =
                    new CommandHandlerGrammar( getEnv(), getDiagnostics(), getRuntimeVersionChecker(), jpfClass, fcInfo );
            MethodDeclaration[] methods = CompilerUtils.getClassMethods( jclass, COMMAND_HANDLER_TAG_NAME );
   
            for ( int i = 0; i < methods.length; i++ )
            {
                MethodDeclaration method = methods[i];
                getFBSourceFileInfo().addCommandHandler( method.getSimpleName() );
                chg.check( CompilerUtils.getAnnotation( method, COMMAND_HANDLER_TAG_NAME ), null, method );
            }
           
            Map checkResultMap = new HashMap();
            checkResultMap.put( JpfLanguageConstants.ExtraInfoKeys.facesBackingInfo, getSourceFileInfo() );
            return checkResultMap;
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.grammar.CommandHandlerGrammar

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.