Class JavaName

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

public final class JavaName extends Object
Java name. This class is used to represent any java class or method name and to avoid naming conflicts with EO reserved words. You can read more about the problem here In the first implementation of this class it just added a 'j' prefix to any name.
Since:
0.1
  • Constructor Details

    • JavaName

      public JavaName(String origin)
      Constructor.
      Parameters:
      origin - Original name.
  • Method Details

    • encode

      public String encode()
      Encode name.
      Returns:
      Encoded name.
    • decode

      public String decode()
      Decode name.
      Returns:
      Decoded name.