Class JavassistEnumConstantDeclaration

java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistEnumConstantDeclaration
All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration, com.github.javaparser.resolution.declarations.ResolvedValueDeclaration

public class JavassistEnumConstantDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
Author:
Federico Tomassetti
  • Constructor Summary

    Constructors
    Constructor
    Description
    JavassistEnumConstantDeclaration(javassist.CtField ctField, com.github.javaparser.resolution.TypeSolver typeSolver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.github.javaparser.resolution.types.ResolvedType
     
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

    asField, asMethod, asParameter, asType, asTypePattern, hasName, isArrayLength, isField, isMethod, isParameter, isType, isTypePattern, isVariable

    Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration

    asEnumConstant, isEnumConstant
  • Constructor Details

    • JavassistEnumConstantDeclaration

      public JavassistEnumConstantDeclaration(javassist.CtField ctField, com.github.javaparser.resolution.TypeSolver typeSolver)
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object