Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
+ compilerImports()
+ "\n"
+ "/**\n"
+ " * Utiliy Class that stores the {@link ProcessingEnvironment} and provides various helper methods\n"
+ " * Utility class that stores the {@link ProcessingEnvironment} and provides various helper methods.\n"
+ " */\n"
+ "@Generated(\"avaje-prism-generator\")\n"
+ "public final class APContext {\n"
Expand Down Expand Up @@ -210,8 +210,9 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
+ " }\n"
+ "\n"
+ " /**\n"
+ " * Prints a note.\n"
+ " * Prints a note at the location of the element.\n"
+ " *\n"
+ " * @param e the element to use as a position hint\n"
+ " * @param msg the message, or an empty string if none\n"
+ " * @param args {@code String#format} arguments\n"
+ " */\n"
Expand All @@ -220,9 +221,8 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
+ " }\n"
+ "\n"
+ " /**\n"
+ " * Prints a note at the location of the element.\n"
+ " * Prints a note.\n"
+ " *\n"
+ " * @param e the element to use as a position hint\n"
+ " * @param msg the message, or an empty string if none\n"
+ " * @param args {@code String#format} arguments\n"
+ " */\n"
Expand Down Expand Up @@ -332,7 +332,7 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
+ " *\n"
+ " * @param key the key of the processor option\n"
+ " * @return an Optional for the processor option, or null if none is available.\n"
+ " * @see {@link ProcessingEnvironment#getOptions()}\n"
+ " * @see ProcessingEnvironment#getOptions()\n"
+ " */\n"
+ " public static Optional<String> getOption(String key) {\n"
+ " return Optional.ofNullable(processingEnv().getOptions().get(key));\n"
Expand Down