Package org.apache.flex.compiler.problems

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


     * @return an "sprints format string", like "Error: %s"
     */
    private String getProblemFormat(ICompilerProblem problem)
    {
        CompilerProblemSeverity severity = problemCategorizer.getProblemSeverity(problem);
        CompilerProblemClassification classification = problemCategorizer.getProblemClassification(problem);
       
        String formatString=null;
        if (classification == CompilerProblemClassification.DEFAULT)
        {
            switch(severity)
View Full Code Here


       
        // get the classification from the problem annotation
        ProblemClassification classification  = problem.getClass().getAnnotation(ProblemClassification.class);
        assert classification != null;
       
        CompilerProblemClassification ret = CompilerProblemClassification.DEFAULT;
        if (classification != null)
        {
           ret = classification.value();
        }
       
View Full Code Here

TOP

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

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.