public interface Solution

This represents the solution to an exercise.

  • Method Summary

    List<com.github.javaparser.ast.CompilationUnit>

    Get the parsed Java files that are part of the solution.

    getSlug()

    Get the slug of the exercise to which the solution belongs.

  • Method Details

    • getSlug

      Get the slug of the exercise to which the solution belongs.

      Returns:
      Exercise slug.
    • getCompilationUnits

      List<com.github.javaparser.ast.CompilationUnit> getCompilationUnits()

      Get the parsed Java files that are part of the solution.

      Returns:
      List of compilation units.