Class ReflectionAnnotationMemberDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.reflectionmodel.ReflectionAnnotationMemberDeclaration
-
- All Implemented Interfaces:
AssociableToAST
,ResolvedAnnotationMemberDeclaration
,ResolvedDeclaration
,ResolvedValueDeclaration
public class ReflectionAnnotationMemberDeclaration extends Object implements ResolvedAnnotationMemberDeclaration
- Author:
- Malte Skoruppa
-
-
Constructor Summary
Constructors Constructor Description ReflectionAnnotationMemberDeclaration(Method annotationMember, TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
getDefaultValue()
String
getName()
Should return the name or return null if the name is not available.ResolvedType
getType()
Type of the declaration.-
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
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isType, isVariable
-
-
-
-
Constructor Detail
-
ReflectionAnnotationMemberDeclaration
public ReflectionAnnotationMemberDeclaration(Method annotationMember, TypeSolver typeSolver)
-
-
Method Detail
-
getDefaultValue
public Expression getDefaultValue()
- Specified by:
getDefaultValue
in interfaceResolvedAnnotationMemberDeclaration
-
getType
public ResolvedType getType()
Description copied from interface:ResolvedValueDeclaration
Type of the declaration.- Specified by:
getType
in interfaceResolvedValueDeclaration
-
getName
public String getName()
Description copied from interface:ResolvedDeclaration
Should return the name or return null if the name is not available.- Specified by:
getName
in interfaceResolvedDeclaration
-
-