public class ReflectionParameterDeclaration extends Object implements ResolvedParameterDeclaration
Constructor and Description |
---|
ReflectionParameterDeclaration(Class<?> type,
Type genericType,
TypeSolver typeSolver,
boolean variadic,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
ResolvedType |
getType() |
int |
hashCode() |
boolean |
hasName() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isVariadic() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asParameter, describeType
asEnumConstant, asField, asMethod, asPattern, asType, isEnumConstant, isMethod, isPattern, isVariable
public ReflectionParameterDeclaration(Class<?> type, Type genericType, TypeSolver typeSolver, boolean variadic, String name)
type
- genericType
- typeSolver
- variadic
- name
- can potentially be nullpublic String getName()
getName
in interface ResolvedDeclaration
public boolean hasName()
hasName
in interface ResolvedDeclaration
hasName
in interface ResolvedParameterDeclaration
public boolean isField()
isField
in interface ResolvedDeclaration
public boolean isParameter()
isParameter
in interface ResolvedDeclaration
isParameter
in interface ResolvedParameterDeclaration
public boolean isVariadic()
isVariadic
in interface ResolvedParameterDeclaration
public boolean isType()
isType
in interface ResolvedDeclaration
public ResolvedType getType()
getType
in interface ResolvedValueDeclaration
Copyright © 2007–2021. All rights reserved.