- Open the any of the sample files in
/demos/document-code/
- @description
- @param
- ...
- Class
- Method / Function
- Single instruction
-
Class
import java.util.Scanner; /** * @description */ public class MysteryFunction { public static int mystery(int n) { ...
-
Method / Function
/** * @description <copilot suggestion> * @param <copilot suggestion> */ private static int partition(int[] array, int start, int end) { int pivot = array[end]; ...
-
Single instruction
// <copilot suggestion> private static final Pattern PATTERN = Pattern.compile("^\\d{3}-\\d{2}-\\d{4}$"); ...