Class BytecodeMethodParameter
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeMethodParameter
-
public final class BytecodeMethodParameter extends Object
Bytecode method parameter.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description BytecodeMethodParameter(int index, String name, int access, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.BytecodeMethodParameter(int index, String name, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.BytecodeMethodParameter(int index, org.objectweb.asm.Type type)Constructor.BytecodeMethodParameter(int index, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.xembly.Directive>directives()Convert to directives.voidwrite(org.objectweb.asm.MethodVisitor visitor)Write to the method visitor.
-
-
-
Constructor Detail
-
BytecodeMethodParameter
public BytecodeMethodParameter(int index, org.objectweb.asm.Type type)Constructor.- Parameters:
index- Index of the parameter.type- Type of the parameter.
-
BytecodeMethodParameter
public BytecodeMethodParameter(int index, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.- Parameters:
index- Index of the parameter.type- Type of the parameter.annotations- Annotations of the parameter.
-
BytecodeMethodParameter
public BytecodeMethodParameter(int index, String name, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.- Parameters:
index- Index of the parameter.name- Name of the parameter.type- Type of the parameter.annotations- Annotations of the parameter.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
BytecodeMethodParameter
public BytecodeMethodParameter(int index, String name, int access, org.objectweb.asm.Type type, BytecodeAnnotations annotations)Constructor.- Parameters:
index- Index of the parameter.name- Name of the parameter.access- Method parameter access.type- Type of the parameter.annotations- Annotations of the parameter.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-
Method Detail
-
write
public void write(org.objectweb.asm.MethodVisitor visitor)
Write to the method visitor.- Parameters:
visitor- Method visitor.
-
directives
public Iterable<org.xembly.Directive> directives()
Convert to directives.- Returns:
- Directives.
-
-