From 6375d4e7d33be5b233fd47ddbf1e7a0f08238425 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 7 Feb 2023 16:29:58 +0100 Subject: fix: small fixes in javadocs --- src/main/java/ftbsc/lll/IInjector.java | 10 ++++++---- src/main/java/ftbsc/lll/tools/DescriptorBuilder.java | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/main') diff --git a/src/main/java/ftbsc/lll/IInjector.java b/src/main/java/ftbsc/lll/IInjector.java index d223536..7ef8144 100644 --- a/src/main/java/ftbsc/lll/IInjector.java +++ b/src/main/java/ftbsc/lll/IInjector.java @@ -44,10 +44,12 @@ public interface IInjector { * compiles that information, as well as the return type, in as little space as * possible. * Examples: - * (IF)V - returns void, takes in int and float - * (Ljava/lang/Object;)I - returns int, takes in a java.lang.Object - * (ILjava/lang/String;)[I - returns int[], takes in an int and a String - * See https://asm.ow2.io/asm4-guide.pdf for a more detailed explanation. + * + * See ASM's documentation for a more detailed explanation. * @return descriptor of method to target. */ String methodDesc(); diff --git a/src/main/java/ftbsc/lll/tools/DescriptorBuilder.java b/src/main/java/ftbsc/lll/tools/DescriptorBuilder.java index 5cb6c6f..13022ea 100644 --- a/src/main/java/ftbsc/lll/tools/DescriptorBuilder.java +++ b/src/main/java/ftbsc/lll/tools/DescriptorBuilder.java @@ -6,6 +6,7 @@ import java.util.ArrayList; /** * Builds a method descriptor for you. + * See the documentation to better understand what this is. * Parameters must be given in a specific order. * Return type should always be specified for clarity, but defaults to void. */ -- cgit v1.2.3-56-ga3b1