public interface JavaEnum<O extends JavaEnum<O>> extends JavaType<O>, PropertyHolder<O>, TypeHolder<O>, StaticCapable
| Modifier and Type | Method and Description |
|---|---|
EnumConstant<O> |
getEnumConstant(String name)
Return the
EnumConstant with the given name, or return null if no such constant exists. |
List<? extends EnumConstant<O>> |
getEnumConstants()
Return all declared
EnumConstant types for this JavaEnum |
getCanonicalName, getEnclosingType, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterface, toUnformattedStringgetPackage, isDefaultPackagegetVisibility, isPackagePrivate, isPrivate, isProtected, isPublicgetAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotationgetInternalgetJavaDoc, hasJavaDocgetProperties, getProperty, hasProperty, hasPropertygetMethod, getMethod, getMethod, getMethods, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignaturegetField, getFields, hasField, hasFieldgetMembersgetInterfaces, hasInterface, hasInterface, hasInterfacegetNestedType, getNestedTypes, hasNestedType, hasNestedType, hasNestedTypeisStaticEnumConstant<O> getEnumConstant(String name)
EnumConstant with the given name, or return null if no such constant exists.name - List<? extends EnumConstant<O>> getEnumConstants()
EnumConstant types for this JavaEnumCopyright © 2015 JBoss by Red Hat. All rights reserved.