Class BytecodeMethodParameters
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeMethodParameters
-
public final class BytecodeMethodParameters extends Object
Bytecode parameters.- Since:
- 0.4
-
-
Constructor Summary
Constructors Constructor Description BytecodeMethodParameters()Default constructor.BytecodeMethodParameters(String descriptor)Constructor.BytecodeMethodParameters(List<BytecodeMethodParameter> params)Constructor.BytecodeMethodParameters(List<BytecodeMethodParameter> params, List<BytecodeParamAnnotations> annotations)Constructor.BytecodeMethodParameters(BytecodeMethodParameter... params)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesMethodParamsdirectives(Format format)Convert to directives.voidwrite(org.objectweb.asm.MethodVisitor visitor)Add annotation.
-
-
-
Constructor Detail
-
BytecodeMethodParameters
public BytecodeMethodParameters()
Default constructor.
-
BytecodeMethodParameters
public BytecodeMethodParameters(String descriptor)
Constructor.- Parameters:
descriptor- Method descriptor.
-
BytecodeMethodParameters
public BytecodeMethodParameters(BytecodeMethodParameter... params)
Constructor.- Parameters:
params- Parameters.
-
BytecodeMethodParameters
public BytecodeMethodParameters(List<BytecodeMethodParameter> params)
Constructor.- Parameters:
params- Parameters.
-
BytecodeMethodParameters
public BytecodeMethodParameters(List<BytecodeMethodParameter> params, List<BytecodeParamAnnotations> annotations)
Constructor.- Parameters:
params- Parameters.annotations- Parameter annotations.
-
-
Method Detail
-
write
public void write(org.objectweb.asm.MethodVisitor visitor)
Add annotation.- Parameters:
visitor- Method visitor.
-
directives
public DirectivesMethodParams directives(Format format)
Convert to directives.- Parameters:
format- Format of the directives.- Returns:
- Directives.
-
-