Class JavaParserAnnotationMemberDeclaration

  • 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 JavaParserAnnotationMemberDeclaration
    extends Object
    implements com.github.javaparser.resolution.declarations.ResolvedAnnotationMemberDeclaration
    Author:
    Federico Tomassetti
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaParserAnnotationMemberDeclaration​(com.github.javaparser.ast.body.AnnotationMemberDeclaration wrappedNode, 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()  
      String getName()  
      com.github.javaparser.resolution.types.ResolvedType getType()  
      com.github.javaparser.ast.body.AnnotationMemberDeclaration getWrappedNode()  
      Optional<com.github.javaparser.ast.Node> toAst()  
      • Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST

        toAst
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration

        asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable
    • Constructor Detail

      • JavaParserAnnotationMemberDeclaration

        public JavaParserAnnotationMemberDeclaration​(com.github.javaparser.ast.body.AnnotationMemberDeclaration wrappedNode,
                                                     com.github.javaparser.resolution.TypeSolver typeSolver)
    • Method Detail

      • getWrappedNode

        public com.github.javaparser.ast.body.AnnotationMemberDeclaration getWrappedNode()
      • 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 String getName()
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
      • toAst

        public Optional<com.github.javaparser.ast.Node> toAst()
        Specified by:
        toAst in interface com.github.javaparser.resolution.declarations.AssociableToAST