Package org.eolang.jeo.representation
Class JavaName
java.lang.Object
org.eolang.jeo.representation.JavaName
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaName
Constructor.- Parameters:
origin
- Original name.
-
-
Method Details
-
encode
Encode name.- Returns:
- Encoded name.
-
decode
Decode name.- Returns:
- Decoded name.
-