From 52dbb847a4c152f3f2abca7804ba5df4caadd8e1 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Fri, 3 Mar 2023 18:42:42 +0100 Subject: chore: removed references to cube game from names and comments --- src/main/java/ftbsc/lll/proxies/MethodProxy.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java/ftbsc/lll/proxies/MethodProxy.java') diff --git a/src/main/java/ftbsc/lll/proxies/MethodProxy.java b/src/main/java/ftbsc/lll/proxies/MethodProxy.java index 1df4678..ff5e1f0 100644 --- a/src/main/java/ftbsc/lll/proxies/MethodProxy.java +++ b/src/main/java/ftbsc/lll/proxies/MethodProxy.java @@ -51,14 +51,14 @@ public class MethodProxy extends AbstractProxy { /** * A protected constructor, called only from the builder. - * @param srgName the SRG name of the method + * @param name the name of the method * @param modifiers the modifiers of the method * @param parent the FQN of the parent class of the method * @param parameters the parameters of the method * @param returnType the return type of the method */ - protected MethodProxy(String srgName, int modifiers, String parent, Object[] parameters, Object returnType) { - super(srgName, modifiers, parent); + protected MethodProxy(String name, int modifiers, String parent, Object[] parameters, Object returnType) { + super(name, modifiers, parent); this.parameters = parameters; this.returnType = returnType; this.descriptorCache = null; @@ -96,11 +96,11 @@ public class MethodProxy extends AbstractProxy { /** * Returns a new instance of {@link MethodProxy.Builder}. - * @param srgName the SRG name of the method + * @param name the name of the method * @return the builder object for method proxies */ - public static Builder builder(String srgName) { - return new Builder(srgName); + public static Builder builder(String name) { + return new Builder(name); } /** @@ -119,10 +119,10 @@ public class MethodProxy extends AbstractProxy { /** * The constructor of the builder, used only internally. - * @param srgName the SRG name of the method + * @param name the name of the method */ - Builder(String srgName) { - super(srgName); + Builder(String name) { + super(name); this.parameters = new ArrayList<>(); this.returnType = void.class; } @@ -177,7 +177,7 @@ public class MethodProxy extends AbstractProxy { */ @Override public MethodProxy build() { - return new MethodProxy(srgName, modifiers, parent, parameters.toArray(), returnType); + return new MethodProxy(name, modifiers, parent, parameters.toArray(), returnType); } } -- cgit v1.2.3-56-ga3b1