public class JavassistParameterDeclaration extends Object implements ResolvedParameterDeclaration
Constructor and Description |
---|
JavassistParameterDeclaration(javassist.CtClass type,
TypeSolver typeSolver,
boolean variadic,
String name) |
JavassistParameterDeclaration(ResolvedType type,
TypeSolver typeSolver,
boolean variadic,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ResolvedType |
getType() |
boolean |
hasName() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isVariadic() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asParameter, describeType
asEnumConstant, asField, asMethod, asPattern, asType, isEnumConstant, isMethod, isPattern, isVariable
public JavassistParameterDeclaration(javassist.CtClass type, TypeSolver typeSolver, boolean variadic, String name)
public JavassistParameterDeclaration(ResolvedType type, TypeSolver typeSolver, boolean variadic, String name)
public boolean hasName()
hasName
in interface ResolvedDeclaration
hasName
in interface ResolvedParameterDeclaration
public String getName()
getName
in interface ResolvedDeclaration
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.