Class ReflectionEnumConstantDeclaration

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

    public class ReflectionEnumConstantDeclaration
    extends Object
    implements com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectionEnumConstantDeclaration​(Field enumConstant, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()  
      com.github.javaparser.resolution.types.ResolvedType getType()  
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration

        asField, asMethod, asParameter, asType, hasName, isField, isMethod, isParameter, isType, isVariable
      • Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration

        asEnumConstant, isEnumConstant
    • Constructor Detail

      • ReflectionEnumConstantDeclaration

        public ReflectionEnumConstantDeclaration​(Field enumConstant,
                                                 com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
        Specified by:
        getName in interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
      • getType

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