diff options
Diffstat (limited to 'src')
-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. */ |