Class PrefixedName

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

public final class PrefixedName 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

    • PrefixedName

      public PrefixedName(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.