Package jminusminus
Class Method
java.lang.Object
jminusminus.Member
jminusminus.Method
This class provides a wrapper for methods.
-
Constructor Summary
-
Method Summary
Methods inherited from class jminusminus.Member
declaringType, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, name
-
Constructor Details
-
Method
Constructs a method given its internal representation.- Parameters:
method
- the internal representation.
-
-
Method Details
-
returnType
Returns this method's return type.- Returns:
- this method's return type.
-
toDescriptor
Returns the JVM descriptor for this member.- Specified by:
toDescriptor
in classMember
- Returns:
- the JVM descriptor for this member.
-
member
Returns this member's internal representation.
-