Class ReflectionParameterDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.reflectionmodel.ReflectionParameterDeclaration
-
- All Implemented Interfaces:
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.symbolsolver.model.resolution.TypeSolver typeSolver, boolean variadic, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
com.github.javaparser.resolution.types.ResolvedType
getType()
int
hashCode()
boolean
hasName()
boolean
isField()
boolean
isParameter()
boolean
isType()
boolean
isVariadic()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Returns:
- the name, which can be potentially null
-
hasName
public boolean hasName()
- Specified by:
hasName
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Specified by:
hasName
in interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isField
public boolean isField()
- Specified by:
isField
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isParameter
public boolean isParameter()
- Specified by:
isParameter
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Specified by:
isParameter
in interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isVariadic
public boolean isVariadic()
- Specified by:
isVariadic
in interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
isType
public boolean isType()
- Specified by:
isType
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()
- Specified by:
getType
in interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
-