Class MethodName

java.lang.Object
org.eolang.jeo.representation.MethodName

public final class MethodName extends Object
Method name. Represents java method name. Since methods in java are allowed to be overloaded, we should handle this ambiguity. This class is used to represent method name and its descriptor.
Since:
0.5
  • Constructor Details

    • MethodName

      public MethodName(String encoded)
      Constructor.
      Parameters:
      encoded - Method name and descriptor encoded.
    • MethodName

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

    • encoded

      public String encoded()
      Encoded method name with descriptor.
      Returns:
      Encoded method name with descriptor.
    • decoded

      public String decoded()
      Method name.
      Returns:
      Method name.