diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/ftbsc/lll/proxies/AbstractProxy.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/proxies/AbstractProxy.java b/src/main/java/ftbsc/lll/proxies/AbstractProxy.java index 8baf112..01cc6fe 100644 --- a/src/main/java/ftbsc/lll/proxies/AbstractProxy.java +++ b/src/main/java/ftbsc/lll/proxies/AbstractProxy.java @@ -112,6 +112,15 @@ public abstract class AbstractProxy { } /** + * @param newModifier the new modifier value + * @return the current state of the builder + */ + public Builder<T> setModifier(int newModifier) { + this.modifiers = newModifier; + return this; + } + + /** * @return the built proxy object */ public abstract T build(); |