diff options
author | zaaarf <zaaarf@proton.me> | 2023-02-07 16:29:58 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-02-07 16:29:58 +0100 |
commit | 6375d4e7d33be5b233fd47ddbf1e7a0f08238425 (patch) | |
tree | 842a032e4efc5c6a6e4de66697abd913ba1c16c9 | |
parent | 2cdad9a48281540b7b0573c5fcb2185c772f8298 (diff) |
fix: small fixes in javadocs
-rw-r--r-- | src/main/java/ftbsc/lll/IInjector.java | 10 | ||||
-rw-r--r-- | src/main/java/ftbsc/lll/tools/DescriptorBuilder.java | 1 |
2 files changed, 7 insertions, 4 deletions
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 <a href="https://asm.ow2.io/asm4-guide.pdf">https://asm.ow2.io/asm4-guide.pdf</a> for a more detailed explanation. + * <ul> + * <li>(IF)V - returns void, takes in int and float</li> + * <li>(Ljava/lang/Object;)I - returns int, takes in a java.lang.Object</li> + * <li>(ILjava/lang/String;)[I - returns int[], takes in an int and a String</li> + * </ul> + * See ASM's <a href="https://asm.ow2.io/asm4-guide.pdf">documentation</a> 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 <a href="https://asm.ow2.io/asm4-guide.pdf">documentation</a> 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. */ |