Class ReflectionPatternDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionPatternDeclaration
- All Implemented Interfaces:
ResolvedDeclaration,ResolvedPatternDeclaration,ResolvedValueDeclaration
WARNING: Implemented fairly blindly. Unsure if required or even appropriate. Use with extreme caution.
- Author:
- Roger Howell
-
Constructor Summary
ConstructorsConstructorDescriptionReflectionPatternDeclaration(Class<?> type, TypeSolver typeSolver, String name) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isMethod, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedPatternDeclaration
asPattern, describeType
-
Constructor Details
-
ReflectionPatternDeclaration
- Parameters:
type-typeSolver-name- can potentially be null
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceResolvedDeclaration
-
hasName
public boolean hasName()- Specified by:
hasNamein interfaceResolvedDeclaration- Specified by:
hasNamein interfaceResolvedPatternDeclaration
-
isField
public boolean isField()- Specified by:
isFieldin interfaceResolvedDeclaration
-
isParameter
public boolean isParameter()- Specified by:
isParameterin interfaceResolvedDeclaration
-
isPattern
public boolean isPattern()- Specified by:
isPatternin interfaceResolvedDeclaration- Specified by:
isPatternin interfaceResolvedPatternDeclaration
-
isType
public boolean isType()- Specified by:
isTypein interfaceResolvedDeclaration
-
getType
- Specified by:
getTypein interfaceResolvedValueDeclaration
-