Class BytecodeMethodParameter
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeMethodParameter
Bytecode method parameter.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeMethodParameter(int index, String name, int access, org.objectweb.asm.Type type) Constructor.BytecodeMethodParameter(int index, String name, org.objectweb.asm.Type type) Constructor.BytecodeMethodParameter(int index, org.objectweb.asm.Type type) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionIterable<org.xembly.Directive>directives(Format format) Convert to directives.voidwrite(org.objectweb.asm.MethodVisitor visitor) Write to the method visitor.
-
Constructor Details
-
BytecodeMethodParameter
public BytecodeMethodParameter(int index, org.objectweb.asm.Type type) Constructor.- Parameters:
index- Index of the parameter.type- Type of the parameter.
-
BytecodeMethodParameter
Constructor.- Parameters:
index- Index of the parameter.name- Name of the parameter.type- Type of the parameter.
-
BytecodeMethodParameter
Constructor.- Parameters:
index- Index of the parameter.name- Name of the parameter.access- Method parameter access.type- Type of the parameter.
-
-
Method Details
-
write
public void write(org.objectweb.asm.MethodVisitor visitor) Write to the method visitor.- Parameters:
visitor- Method visitor.
-
directives
Convert to directives.- Parameters:
format- Directives format.- Returns:
- Directives.
-