Package org.eolang.jeo.representation
Class MethodName
- java.lang.Object
-
- org.eolang.jeo.representation.MethodName
-
public final class MethodName extends Object
Method name. Represents java method name. The original purpose of this class is to handle constructor names. They are represented as '<'init'>' in bytecode which isn't allowed in EO. So, we need to convert it to a valid name and back.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description MethodName(String name)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bytecode()
Converts method name to bytecode.String
xmir()
Converts method name to EO.
-