public class MethodSnippet extends DeclarationSnippet
Snippet.Kind.METHOD
.
MethodSnippet
is immutable: an access to
any of its methods will always return the same result.
and thus is thread-safe.
Snippet.Kind, Snippet.Status, Snippet.SubKind
Modifier and Type | Method and Description |
---|---|
java.lang.String |
parameterTypes()
A String representation of the parameter types of the method.
|
java.lang.String |
signature()
The full type signature of the method, including return type.
|
java.lang.String |
toString() |
name
public java.lang.String parameterTypes()
public java.lang.String signature()