public class ReflectionPatternDeclaration extends Object implements ResolvedPatternDeclaration
| Constructor and Description |
|---|
ReflectionPatternDeclaration(Class<?> type,
TypeSolver typeSolver,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
ResolvedType |
getType() |
boolean |
hasName() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isPattern() |
boolean |
isType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasPattern, describeTypeasEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isMethod, isVariabletoAst, toAstpublic ReflectionPatternDeclaration(Class<?> type, TypeSolver typeSolver, String name)
type - typeSolver - name - can potentially be nullpublic String getName()
getName in interface ResolvedDeclarationpublic boolean hasName()
hasName in interface ResolvedDeclarationhasName in interface ResolvedPatternDeclarationpublic boolean isField()
isField in interface ResolvedDeclarationpublic boolean isParameter()
isParameter in interface ResolvedDeclarationpublic boolean isPattern()
isPattern in interface ResolvedDeclarationisPattern in interface ResolvedPatternDeclarationpublic boolean isType()
isType in interface ResolvedDeclarationpublic ResolvedType getType()
getType in interface ResolvedValueDeclarationCopyright © 2007–2023. All rights reserved.