chore: Add example code from patch docs, add missing context parameter compiler argument

This commit is contained in:
LisoUseInAIKyrios committed 2026-01-20 15:14:35 +01:00
1 parent 4b62e7fe8c
commit 01b9822788
5 files changed
+97 -14

No files matched your search

@@ -1,7 +0,0 @@
package app.morphe.extension;
public class ExampleExtension {
public static void get() {
// TODO("Not yet implemented")
}
}
@@ -0,0 +1,11 @@
package app.morphe.extension;
@SuppressWarnings("unused")
public class ExamplePatch {
public static boolean showAds() {
// Complex Java logic goes here.
// Simple patches that override with fixed values do not need to use or call extension code.
return false;
}
}