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 String
getName()
com.github.javaparser.resolution.types.ResolvedType
getType()
boolean
hasName()
boolean
isField()
boolean
isParameter()
boolean
isType()
boolean
isTypePattern()
-
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:
getName
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
hasName
public boolean hasName()
- Specified by:
hasName
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Specified by:
hasName
in interfacecom.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
-
isField
public boolean isField()
- Specified by:
isField
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isParameter
public boolean isParameter()
- Specified by:
isParameter
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isTypePattern
public boolean isTypePattern()
- Specified by:
isTypePattern
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Specified by:
isTypePattern
in interfacecom.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
-
isType
public boolean isType()
- Specified by:
isType
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()
- Specified by:
getType
in interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
-