public interface NodeWithDeclaration
Modifier and Type | Method and Description |
---|---|
String |
getDeclarationAsString()
As
getDeclarationAsString(boolean, boolean, boolean) including
the modifiers, the throws clause and the parameters with both type and name. |
String |
getDeclarationAsString(boolean includingModifiers,
boolean includingThrows)
As
getDeclarationAsString(boolean, boolean, boolean) including
the parameters with both type and name. |
String |
getDeclarationAsString(boolean includingModifiers,
boolean includingThrows,
boolean includingParameterName)
A simple representation of the element declaration.
|
String getDeclarationAsString()
getDeclarationAsString(boolean, boolean, boolean)
including
the modifiers, the throws clause and the parameters with both type and name.String getDeclarationAsString(boolean includingModifiers, boolean includingThrows)
getDeclarationAsString(boolean, boolean, boolean)
including
the parameters with both type and name.includingModifiers
- flag to include the modifiers (if present) in the string producedincludingThrows
- flag to include the throws clause (if present) in the string producedString getDeclarationAsString(boolean includingModifiers, boolean includingThrows, boolean includingParameterName)
includingModifiers
- flag to include the modifiers (if present) in the string producedincludingThrows
- flag to include the throws clause (if present) in the string producedincludingParameterName
- flag to include the parameter name (while the parameter type is always included) in
the string producedCopyright © 2007–2019. All rights reserved.