Package org.spongepowered.asm.mixin.gen
Class AccessorGeneratorMethodProxy
java.lang.Object
org.spongepowered.asm.mixin.gen.AccessorGenerator
org.spongepowered.asm.mixin.gen.AccessorGeneratorMethodProxy
- Direct Known Subclasses:
AccessorGeneratorObjectFactory
public class AccessorGeneratorMethodProxy extends AccessorGenerator
Generator for proxy methods
-
Field Summary
Fields Modifier and Type Field Description protected org.objectweb.asm.Type[]argTypesAccessor method argument types (raw, from method)protected org.objectweb.asm.TypereturnTypeAccessor method return type (raw, from method)protected org.objectweb.asm.tree.MethodNodetargetMethodThe target field, identified by the accessor infoFields inherited from class org.spongepowered.asm.mixin.gen.AccessorGenerator
info, targetIsStatic -
Constructor Summary
Constructors Modifier Constructor Description AccessorGeneratorMethodProxy(AccessorInfo info)protectedAccessorGeneratorMethodProxy(AccessorInfo info, boolean isStatic) -
Method Summary
Modifier and Type Method Description org.objectweb.asm.tree.MethodNodegenerate()Generate the accessor methodMethods inherited from class org.spongepowered.asm.mixin.gen.AccessorGenerator
checkModifiers, createMethod, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
targetMethod
protected final org.objectweb.asm.tree.MethodNode targetMethodThe target field, identified by the accessor info -
argTypes
protected final org.objectweb.asm.Type[] argTypesAccessor method argument types (raw, from method) -
returnType
protected final org.objectweb.asm.Type returnTypeAccessor method return type (raw, from method)
-
-
Constructor Details
-
AccessorGeneratorMethodProxy
-
AccessorGeneratorMethodProxy
-
-
Method Details
-
generate
public org.objectweb.asm.tree.MethodNode generate()Description copied from class:AccessorGeneratorGenerate the accessor method- Specified by:
generatein classAccessorGenerator- Returns:
- generated accessor method
-