Package org.eolang.jeo.representation
Class Signature
- java.lang.Object
-
- org.eolang.jeo.representation.Signature
-
public final class Signature extends Object
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
descriptor()
Just a descriptor.String
encoded()
Encoded method name with descriptor.String
name()
Just a name without suffix.
-
-
-
Method Detail
-
encoded
public String encoded()
Encoded method name with descriptor.- Returns:
- Encoded method name with descriptor.
-
name
public String name()
Just a name without suffix.- Returns:
- Name without suffix.
-
descriptor
public String descriptor()
Just a descriptor.- Returns:
- Descriptor without name.
-
-