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, wait
asPattern, describeType
asEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isMethod, isVariable
public ReflectionPatternDeclaration(Class<?> type, TypeSolver typeSolver, String name)
type
- typeSolver
- name
- can potentially be nullpublic String getName()
getName
in interface ResolvedDeclaration
public boolean hasName()
hasName
in interface ResolvedDeclaration
hasName
in interface ResolvedPatternDeclaration
public boolean isField()
isField
in interface ResolvedDeclaration
public boolean isParameter()
isParameter
in interface ResolvedDeclaration
public boolean isPattern()
isPattern
in interface ResolvedDeclaration
isPattern
in interface ResolvedPatternDeclaration
public boolean isType()
isType
in interface ResolvedDeclaration
public ResolvedType getType()
getType
in interface ResolvedValueDeclaration
Copyright © 2007–2022. All rights reserved.