Package org.apache.flex.compiler.problems

Examples of org.apache.flex.compiler.problems.ConstructorMustBePublicProblem


            // It is ok to omit the namespace
            // We must check the AST, as CM treats all ctors as public no matter what the user typed in
            // so the FunctionDefinition will always be in the public namespace
            if( node.getActualNamespaceNode() != null &&
                    node.getActualNamespaceNode().getName() != IASKeywordConstants.PUBLIC)
                problems.add(new ConstructorMustBePublicProblem(node.getActualNamespaceNode()));

            // A constructor cannot be static
            if( func.isStatic() )
                problems.add(new ConstructorIsStaticProblem(node));
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.ConstructorMustBePublicProblem

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.