Package org.codehaus.janino
Class MethodDescriptor
java.lang.Object
org.codehaus.janino.MethodDescriptor
Representation of a "method descriptor" (JVMS 4.3.3).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParses a method descriptor into parameter FDs and return FDs.MethodDescriptor
(String returnFd, String... parameterFds) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
prependParameter
(String parameterFd) toString()
-
Field Details
-
parameterFds
The field descriptors of the method parameters. -
returnFd
The field descriptor of the method return value.
-
-
Constructor Details
-
MethodDescriptor
-
MethodDescriptor
Parses a method descriptor into parameter FDs and return FDs.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
prependParameter
- Returns:
- A
MethodDescriptor
equal tothis
, but with another parameter inserted at position zero
-