Package org.eolang.jeo.representation
Class MethodName
java.lang.Object
org.eolang.jeo.representation.MethodName
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 -
Method Summary
-
Constructor Details
-
MethodName
Constructor.- Parameters:
name
- Method name.
-
-
Method Details
-
bytecode
Converts method name to bytecode.- Returns:
- Bytecode name.
-
xmir
Converts method name to EO.- Returns:
- EO name.
-