Interface ResolvedEnumConstantDeclaration
-
- All Superinterfaces:
ResolvedDeclaration,ResolvedValueDeclaration
public interface ResolvedEnumConstantDeclaration extends ResolvedValueDeclaration
- Author:
- Federico Tomassetti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResolvedEnumConstantDeclarationasEnumConstant()StringgetName()Should return the name or return null if the name is not available.default booleanisEnumConstant()-
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.ResolvedValueDeclaration
getType
-
-
-
-
Method Detail
-
getName
String getName()
Description copied from interface:ResolvedDeclarationShould return the name or return null if the name is not available.- Specified by:
getNamein interfaceResolvedDeclaration
-
isEnumConstant
default boolean isEnumConstant()
- Specified by:
isEnumConstantin interfaceResolvedDeclaration
-
asEnumConstant
default ResolvedEnumConstantDeclaration asEnumConstant()
- Specified by:
asEnumConstantin interfaceResolvedDeclaration
-
-