Package org.apache.flex.compiler.problems.annotations

Examples of org.apache.flex.compiler.problems.annotations.ProblemClassification


    {
        if (problem == null)
            throw new NullPointerException("problem may not be null");
       
        // 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();
        }
       
        return ret;
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.annotations.ProblemClassification

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.