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?
|
getType
asEnumConstant, asField, asMethod, asType, asTypePattern, getName, isEnumConstant, isField, isMethod, isType, isTypePattern, isVariable
toAst, toAst
default boolean isParameter()
ResolvedDeclaration
isParameter
in interface ResolvedDeclaration
default boolean hasName()
hasName
in interface ResolvedDeclaration
default ResolvedParameterDeclaration asParameter()
ResolvedDeclaration
asParameter
in interface ResolvedDeclaration
boolean isVariadic()
default String describeType()
Copyright © 2007–2024. All rights reserved.