Class ReflectionParameterDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionParameterDeclaration
- All Implemented Interfaces:
ResolvedDeclaration,ResolvedParameterDeclaration,ResolvedValueDeclaration
- Author:
- Federico Tomassetti
-
Constructor Summary
ConstructorsConstructorDescriptionReflectionParameterDeclaration(Class<?> type, Type genericType, TypeSolver typeSolver, boolean variadic, String name) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asPattern, asType, isEnumConstant, isMethod, isPattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
asParameter, describeType
-
Constructor Details
-
ReflectionParameterDeclaration
public ReflectionParameterDeclaration(Class<?> type, Type genericType, TypeSolver typeSolver, boolean variadic, String name)- Parameters:
type-genericType-typeSolver-variadic-name- can potentially be null
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceResolvedDeclaration- Returns:
- the name, which can be potentially null
-
hasName
public boolean hasName()- Specified by:
hasNamein interfaceResolvedDeclaration- Specified by:
hasNamein interfaceResolvedParameterDeclaration
-
toString
-
isField
public boolean isField()- Specified by:
isFieldin interfaceResolvedDeclaration
-
isParameter
public boolean isParameter()- Specified by:
isParameterin interfaceResolvedDeclaration- Specified by:
isParameterin interfaceResolvedParameterDeclaration
-
isVariadic
public boolean isVariadic()- Specified by:
isVariadicin interfaceResolvedParameterDeclaration
-
isType
public boolean isType()- Specified by:
isTypein interfaceResolvedDeclaration
-
getType
- Specified by:
getTypein interfaceResolvedValueDeclaration
-
equals
-
hashCode
public int hashCode()
-