public interface ResolvedParameterDeclaration extends ResolvedValueDeclaration
| Modifier and Type | Method and Description |
|---|---|
default ResolvedParameterDeclaration |
asParameter()
Return this as a ParameterDeclaration or throw an UnsupportedOperationException
|
default String |
describeType()
Describe the type of the parameter.
|
default boolean |
hasName()
Necessary because parameters obtained through reflection could not have a name.
|
default boolean |
isParameter()
Does this declaration represents a method parameter?
|
boolean |
isVariadic()
Is this parameter declared as variadic?
|
getTypeasEnumConstant, asField, asMethod, asType, getName, isEnumConstant, isField, isMethod, isType, isVariabledefault boolean isParameter()
ResolvedDeclarationisParameter in interface ResolvedDeclarationdefault boolean hasName()
hasName in interface ResolvedDeclarationdefault ResolvedParameterDeclaration asParameter()
ResolvedDeclarationasParameter in interface ResolvedDeclarationboolean isVariadic()
default String describeType()
Copyright © 2007–2019. All rights reserved.