diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-01 20:29:29 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-01 20:29:29 +0100 |
commit | 65d732c0790a553d00f15ba54df082bf3171e506 (patch) | |
tree | dd6843736b429f9125d9d03cce3b6f095d93604b /src/main | |
parent | de6cd068717a51852dab85e07329cb2fe8814240 (diff) |
feat: added setModifier method to proxy builder
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(); |