Javadoc tweaks

This commit is contained in:
Mumfrey committed 2016-02-08 13:23:41 +00:00
1 parent 7205be2d68
commit 665908d32e
4 files changed
+8 -5

No files matched your search

@@ -195,6 +195,7 @@ public abstract class Injector {
* Invoke the handler method
*
* @param insns Instruction list to inject into
* @return injected insn node
*/
protected AbstractInsnNode invokeHandler(InsnList insns) {
return this.invokeHandler(insns, this.methodNode);
@@ -206,7 +207,7 @@ public abstract class Injector {
* @param insns Instruction list to inject into
* @param handler Actual method to invoke (may be different if using a
* surrogate)
* @return
* @return injected insn node
*/
protected AbstractInsnNode invokeHandler(InsnList insns, MethodNode handler) {
boolean isPrivate = (handler.access & Opcodes.ACC_PRIVATE) != 0;
@@ -96,6 +96,7 @@ public abstract class InvokeInjector extends Injector {
* @param args handler arguments
* @param insns InsnList to inject insns into
* @param argMap Mapping of args to local variables
* @return injected insn node
*/
protected AbstractInsnNode invokeHandlerWithArgs(Type[] args, InsnList insns, int[] argMap) {
return this.invokeHandlerWithArgs(args, insns, argMap, 0, args.length);
@@ -107,6 +108,7 @@ public abstract class InvokeInjector extends Injector {
* @param argMap Mapping of args to local variables
* @param startArg Starting arg to consume
* @param endArg Ending arg to consume
* @return injected insn node
*/
protected AbstractInsnNode invokeHandlerWithArgs(Type[] args, InsnList insns, int[] argMap, int startArg, int endArg) {
if (!this.isStatic) {
@@ -71,9 +71,9 @@ public class BeforeInvoke extends InjectionPoint {
protected final MemberInfo target;
/**
* This strategy can be used to identify a particular invokation if the same
* This strategy can be used to identify a particular invocation if the same
* method is invoked at multiple points, if this value is -1 then the
* strategy returns <em>all</em> invokations of the method.
* strategy returns <em>all</em> invocations of the method.
*/
protected final int ordinal;
@@ -290,7 +290,7 @@ public class MixinTargetContext implements IReferenceMapperContext {
/**
* Handles "re-parenting" the method supplied, changes all references to the
* mixin class to refer to the target class (for field accesses and method
* invokations) and also handles fixing up the targets of INVOKESPECIAL
* invocations) and also handles fixing up the targets of INVOKESPECIAL
* opcodes for mixins with detached targets.
*
* @param method Method to transform
@@ -520,7 +520,7 @@ public class MixinTargetContext implements IReferenceMapperContext {
}
/**
* Handle "imaginary super" invokations, these are invokations in
* Handle "imaginary super" invocations, these are invocations in
* non-derived mixins for accessing methods known to exist in a supermixin
* which is not directly inherited by this mixix. The method can only call
* its <b>own</b> super-implmentation and the methd must also be tagged with