Class ReflectionAnnotationMemberDeclaration

  • All Implemented Interfaces:
    com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.ResolvedAnnotationMemberDeclaration, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedValueDeclaration

    public class ReflectionAnnotationMemberDeclaration
    extends java.lang.Object
    implements com.github.javaparser.resolution.declarations.ResolvedAnnotationMemberDeclaration
    Author:
    Malte Skoruppa
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectionAnnotationMemberDeclaration​(java.lang.reflect.Method annotationMember, com.github.javaparser.resolution.TypeSolver typeSolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.github.javaparser.ast.expr.Expression getDefaultValue()  
      java.lang.String getName()  
      com.github.javaparser.resolution.types.ResolvedType getType()  
      • 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, asType, asTypePattern, hasName, isArrayLength, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable
    • Constructor Detail

      • ReflectionAnnotationMemberDeclaration

        public ReflectionAnnotationMemberDeclaration​(java.lang.reflect.Method annotationMember,
                                                     com.github.javaparser.resolution.TypeSolver typeSolver)
    • Method Detail

      • getDefaultValue

        public com.github.javaparser.ast.expr.Expression getDefaultValue()
        Specified by:
        getDefaultValue in interface com.github.javaparser.resolution.declarations.ResolvedAnnotationMemberDeclaration
      • getType

        public com.github.javaparser.resolution.types.ResolvedType getType()
        Specified by:
        getType in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration