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
ConstructorsConstructorDescriptionReflectionPatternDeclaration(Class<?> type, com.github.javaparser.resolution.TypeSolver typeSolver, String name) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAstMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, isArrayLength, isEnumConstant, isMethod, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypePatternDeclaration
asTypePattern, describeType
-
Constructor Details
-
ReflectionPatternDeclaration
-
-
Method Details
-
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
-