Class ErrorMessageDeclarationCrawler


  • public class ErrorMessageDeclarationCrawler
    extends Object
    Crawler that reads invocations of ExaError.messageBuilder(String).
    • Constructor Detail

      • ErrorMessageDeclarationCrawler

        public ErrorMessageDeclarationCrawler​(Path projectDirectory,
                                              String[] classPath,
                                              int javaSourceVersion)
        Create a new instance of ErrorMessageDeclarationCrawler.
        Parameters:
        projectDirectory - project directory to which all paths as relative for paths in messages
        classPath - classPath with the dependencies of the classes to crawl. In the unit-tests for some reason this can be empty. Probably Spoon then picks the class path of this project. When run from a jar the classpath is however required.
        javaSourceVersion - java source version / language level of the project