fix: small fixes in javadocs

This commit is contained in:
zaaarf 2023-02-07 16:29:58 +01:00
parent 2cdad9a482
commit 6375d4e7d3
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C
2 changed files with 7 additions and 4 deletions

View file

@ -44,10 +44,12 @@ public interface IInjector {
* compiles that information, as well as the return type, in as little space as * compiles that information, as well as the return type, in as little space as
* possible. * possible.
* Examples: * Examples:
* (IF)V - returns void, takes in int and float * <ul>
* (Ljava/lang/Object;)I - returns int, takes in a java.lang.Object * <li>(IF)V - returns void, takes in int and float</li>
* (ILjava/lang/String;)[I - returns int[], takes in an int and a String * <li>(Ljava/lang/Object;)I - returns int, takes in a java.lang.Object</li>
* See <a href="https://asm.ow2.io/asm4-guide.pdf">https://asm.ow2.io/asm4-guide.pdf</a> for a more detailed explanation. * <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. * @return descriptor of method to target.
*/ */
String methodDesc(); String methodDesc();

View file

@ -6,6 +6,7 @@ import java.util.ArrayList;
/** /**
* Builds a method descriptor for you. * 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. * Parameters must be given in a specific order.
* Return type should always be specified for clarity, but defaults to void. * Return type should always be specified for clarity, but defaults to void.
*/ */