Package org.eolang.jeo.representation
Class MethodName
java.lang.Object
org.eolang.jeo.representation.MethodName
Method name converter between Java bytecode and EO representations.
This class handles the conversion of Java method names, particularly special cases like constructors and static initializers. Constructor names are represented as '<init>' in bytecode which isn't allowed in EO, so they need to be converted to valid EO names and back.
- Since:
- 0.6.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MethodName
Constructor.- Parameters:
name
- The method name (in either bytecode or EO format)
-
-
Method Details
-
bytecode
Convert method name to bytecode format.- Returns:
- The method name in bytecode format
-
xmir
Convert method name to XMIR/EO format.- Returns:
- The method name in XMIR/EO format
-