Package org.eolang.jeo.representation
Class Signature
java.lang.Object
org.eolang.jeo.representation.Signature
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
Constructors -
Method Summary
-
Constructor Details
-
Signature
Constructor.- Parameters:
encoded
- Method name and descriptor encoded.
-
Signature
Constructor.- Parameters:
name
- Method name.descriptor
- 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.
-