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 Details

    • MethodName

      public MethodName(String name)
      Constructor.
      Parameters:
      name - Method name.
  • Method Details

    • bytecode

      public String bytecode()
      Converts method name to bytecode.
      Returns:
      Bytecode name.
    • xmir

      public String xmir()
      Converts method name to EO.
      Returns:
      EO name.