Package de.hsh.graja.transform
Class CodeOrientedCommentHelper
java.lang.Object
de.hsh.graja.transform.CodeOrientedCommentHelper
This class helps to provide a view of the given sourceFiles as an
Inspector, which can be rendered.
Also, it highlights the positions where grading aspects failed.
A mousehover interaction on these highlights will reveal a
tooltip with Graja's feedback for the respective aspect.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContenttransformCodeOrientedIntoSequenceComment(List<File> sourceFiles, List<CodeOrientedFeedbackSnippet> cofs, Level lvl) This method builds anInspectorto be returned as Sequence.
-
Constructor Details
-
CodeOrientedCommentHelper
public CodeOrientedCommentHelper()
-
-
Method Details
-
transformCodeOrientedIntoSequenceComment
public static Content transformCodeOrientedIntoSequenceComment(List<File> sourceFiles, List<CodeOrientedFeedbackSnippet> cofs, Level lvl) This method builds anInspectorto be returned as Sequence.- Parameters:
sourceFiles- A list of files with source code- Returns:
- The
Sequenceto render
-