Package analyzer

Interface Solution


public interface Solution
This represents the solution to an exercise.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.github.javaparser.ast.CompilationUnit>
    Get the parsed Java files that are part of the solution.
    Get the slug of the exercise to which the solution belongs.
  • Method Details

    • getSlug

      String 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.