From 2a4df4e3c638bd2783d8977d5e5979cabfa155c7 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 16 Jan 2023 00:05:26 +0200 Subject: [PATCH] Add javadoc for deprecated --- pf4j/src/main/java/org/pf4j/Plugin.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pf4j/src/main/java/org/pf4j/Plugin.java b/pf4j/src/main/java/org/pf4j/Plugin.java index 29a36ad..aaee012 100644 --- a/pf4j/src/main/java/org/pf4j/Plugin.java +++ b/pf4j/src/main/java/org/pf4j/Plugin.java @@ -33,6 +33,8 @@ public class Plugin { /** * Wrapper of the plugin. + * @deprecated Use application custom {@code PluginContext} instead of {@code PluginWrapper}. + * See demo for more details. */ @Deprecated protected PluginWrapper wrapper; @@ -58,6 +60,8 @@ public class Plugin { /** * Retrieves the wrapper of this plug-in. + * @deprecated Use application custom {@code PluginContext} instead of {@code PluginWrapper}. + * See demo for more details. */ @Deprecated public final PluginWrapper getWrapper() { -- 2.39.5