public class MethodSimpleParamSig extends SimpleParamNameSignature
Simple-parameter-name signature for a function.
aliteralmind __DASH__ github __AT__ yahoo __DOT__ com), dual-licensed under the LGPL (version 3.0 or later) or the ASL (version 2.0). See source code for details. http://codelet.aliteralmind.com, https://github.com/aliteralmind/codelet| Constructor and Description |
|---|
MethodSimpleParamSig(Method method)
Create a new instance from a method.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod()
The method object.
|
String |
getMethodName()
If a method: its name, if a constructor: the empty string (
""). |
String |
toString() |
compareTo, getMember, getNoParens, getParamNameList, getSimpleNameListFromClasses, getWithParenspublic MethodSimpleParamSig(Method method)
Create a new instance from a method.
Equal to
super(method, method.getParameterTypes())
method - May not be null.public Method getMethod()
The method object.
(Method)getMember()*MethodSimpleParamSig(Method)public String toString()
toString in class SimpleParamNameSignaturegetMethodName() + getWithParens()*public String getMethodName()
SimpleParamNameSignatureIf a method: its name, if a constructor: the empty string ("").
getMethodName in class SimpleParamNameSignaturegetMethod().getName()Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet