Package org.eolang.jeo.representation
Class Signature
java.lang.Object
org.eolang.jeo.representation.Signature
Method signature representation combining name and descriptor.
Represents Java method name and descriptor as a unified signature. Since methods in Java are allowed to be overloaded, we need to handle this ambiguity by combining the method name with its descriptor to create a unique identifier.
- Since:
- 0.5.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Signature
Constructor.- Parameters:
encoded
- The encoded method name and descriptor
-
Signature
Constructor.- Parameters:
name
- The method namedescriptor
- The method descriptor
-
-
Method Details
-
encoded
Encoded method name with descriptor.- Returns:
- Encoded method name with descriptor.
-
name
Just a name without suffix.- Returns:
- Name without suffix.
-
descriptor
Just a descriptor.- Returns:
- Descriptor without name.
-