mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 02:14:49 +01:00
chore: documentation fixes
This commit is contained in:
parent
a90af3bb4b
commit
d528d472a1
3 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ public class LilleroProcessor extends AbstractProcessor {
|
|||
/**
|
||||
* This checks whether a given class contains the requirements to be parsed into a Lillero injector.
|
||||
* It must have at least one method annotated with {@link Target}, and one method annotated with {@link Injector}
|
||||
* that must take in a ClassNode and MethodNode from ObjectWeb's ASM library.
|
||||
* that must take in either a ClassNode and MethodNode (from ObjectWeb's ASM library) or only a MethodNode.
|
||||
* @param elem the element to check.
|
||||
* @return whether it can be converted into a valid {@link IInjector}.
|
||||
*/
|
||||
|
|
|
@ -6,10 +6,10 @@ import java.lang.annotation.RetentionPolicy;
|
|||
|
||||
/**
|
||||
* Marks a method as the injector method for purposes of generation.
|
||||
* The method itself should take in a ClassNode and MethodNode (from the ObjectWeb ASM library)
|
||||
* as parameters. It will be discarded otherwise.
|
||||
* The method itself should take in as parameters a ClassNode and a MethodNode (from the ObjectWeb
|
||||
* ASM library), or only a MethodNode. The annotation will be ignored otherwise.
|
||||
* It will also be discarded unless the containing class is annotated with {@link Patch}
|
||||
* and another method within the class is annotated with {@link Target}.
|
||||
* and at least another method within the class is annotated with {@link Target}.
|
||||
* This annotation may be added multiple times, in order to target multiple methods.
|
||||
* @see Patch
|
||||
* @see Target
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.lang.annotation.RetentionPolicy;
|
|||
* The method annotated with this, called "stub" within the documentation, should have the
|
||||
* same name and parameters as the method it's supposed to represent.
|
||||
* It will be discarded unless the containing class is annotated with {@link Patch}
|
||||
* and another method within the class is annotated with {@link Injector}.
|
||||
* and at least another method within the class is annotated with {@link Injector}.
|
||||
* @see Patch
|
||||
* @see Injector
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue