Class ReflectionParameterDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.reflectionmodel.ReflectionParameterDeclaration
-
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST,com.github.javaparser.resolution.declarations.ResolvedDeclaration,com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration,com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public class ReflectionParameterDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description ReflectionParameterDeclaration(Class<?> type, Type genericType, com.github.javaparser.resolution.TypeSolver typeSolver, boolean variadic, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()com.github.javaparser.resolution.types.ResolvedTypegetType()inthashCode()booleanhasName()booleanisField()booleanisParameter()booleanisType()booleanisVariadic()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Returns:
- the name, which can be potentially null
-
hasName
public boolean hasName()
- Specified by:
hasNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Specified by:
hasNamein interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isField
public boolean isField()
- Specified by:
isFieldin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isParameter
public boolean isParameter()
- Specified by:
isParameterin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Specified by:
isParameterin interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isVariadic
public boolean isVariadic()
- Specified by:
isVariadicin interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isType
public boolean isType()
- Specified by:
isTypein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()
- Specified by:
getTypein interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
-