Class ReflectionPatternDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.reflectionmodel.ReflectionPatternDeclaration
-
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST,com.github.javaparser.resolution.declarations.ResolvedDeclaration,com.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration,com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public class ReflectionPatternDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
WARNING: Implemented fairly blindly. Unsure if required or even appropriate. Use with extreme caution.- Author:
- Roger Howell
-
-
Constructor Summary
Constructors Constructor Description ReflectionPatternDeclaration(Class<?> type, com.github.javaparser.resolution.TypeSolver typeSolver, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()com.github.javaparser.resolution.types.ResolvedTypegetType()booleanhasName()booleanisField()booleanisParameter()booleanisType()booleanisTypePattern()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
hasName
public boolean hasName()
- Specified by:
hasNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Specified by:
hasNamein interfacecom.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
-
isField
public boolean isField()
- Specified by:
isFieldin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isParameter
public boolean isParameter()
- Specified by:
isParameterin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isTypePattern
public boolean isTypePattern()
- Specified by:
isTypePatternin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Specified by:
isTypePatternin interfacecom.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
-
isType
public boolean isType()
- Specified by:
isTypein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()
- Specified by:
getTypein interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
-