public class ReflectionParameterDeclaration extends Object implements com.github.javaparser.resolution.declarations.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() |
com.github.javaparser.resolution.types.ResolvedType |
getType() |
int |
hashCode() |
boolean |
hasName() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isVariadic() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean hasName()
hasName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
hasName
in interface com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
public boolean isField()
isField
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isParameter()
isParameter
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
isParameter
in interface com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
public boolean isVariadic()
isVariadic
in interface com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
public boolean isType()
isType
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public com.github.javaparser.resolution.types.ResolvedType getType()
getType
in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
Copyright © 2007–2018. All rights reserved.