Package org.eolang.jeo.representation
Class MethodName
java.lang.Object
org.eolang.jeo.representation.MethodName
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 Summary
ConstructorsConstructorDescriptionMethodName
(String encoded) Constructor.MethodName
(String name, String descriptor) Constructor. -
Method Summary
-
Constructor Details
-
MethodName
Constructor.- Parameters:
encoded
- Method name and descriptor encoded.
-
MethodName
Constructor.- Parameters:
name
- Method name.descriptor
- Method descriptor.
-
-
Method Details
-
encoded
Encoded method name with descriptor.- Returns:
- Encoded method name with descriptor.
-
decoded
Method name.- Returns:
- Method name.
-