public class ReflectionPatternDeclaration extends Object implements ResolvedTypePatternDeclaration
| 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 |
isType() |
boolean |
isTypePattern() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasTypePattern, 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 ResolvedTypePatternDeclarationpublic boolean isField()
isField in interface ResolvedDeclarationpublic boolean isParameter()
isParameter in interface ResolvedDeclarationpublic boolean isTypePattern()
isTypePattern in interface ResolvedDeclarationisTypePattern in interface ResolvedTypePatternDeclarationpublic boolean isType()
isType in interface ResolvedDeclarationpublic ResolvedType getType()
getType in interface ResolvedValueDeclarationCopyright © 2007–2024. All rights reserved.