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 ResolvedEnumConstantDeclaration
asEnumConstant()
String
getName()
Should return the name or return null if the name is not available.default boolean
isEnumConstant()
-
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:ResolvedDeclaration
Should return the name or return null if the name is not available.- Specified by:
getName
in interfaceResolvedDeclaration
-
isEnumConstant
default boolean isEnumConstant()
- Specified by:
isEnumConstant
in interfaceResolvedDeclaration
-
asEnumConstant
default ResolvedEnumConstantDeclaration asEnumConstant()
- Specified by:
asEnumConstant
in interfaceResolvedDeclaration
-
-