Package org.codehaus.janino
Class MethodDescriptor
- java.lang.Object
-
- org.codehaus.janino.MethodDescriptor
-
public class MethodDescriptor extends Object
Representation of a "method descriptor" (JVMS 4.3.3).
-
-
Field Summary
Fields Modifier and Type Field Description String[]
parameterFds
The field descriptors of the method parameters.String
returnFd
The field descriptor of the method return value.
-
Constructor Summary
Constructors Constructor Description MethodDescriptor(String s)
Parse a method descriptor into parameter FDs and return FDs.MethodDescriptor(String[] parameterFds, String returnFd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
prependParameter(String md, String parameterFd)
Patches an additional parameter into a given method descriptor.String
toString()
-