public interface JavaEnum<O extends JavaEnum<O>> extends JavaType<O>, InterfaceCapable, FieldHolder<O>, MethodHolder<O>
| 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, getNestedClasses, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterfacegetPackage, isDefaultPackagegetVisibility, isPackagePrivate, isPrivate, isProtected, isPublicgetAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotationgetInternalgetInterfaces, hasInterface, hasInterface, hasInterfacegetField, getFields, hasField, hasFieldgetMethod, getMethod, getMethod, getMethods, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignaturegetMembersEnumConstant<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 © 2013 JBoss by Red Hat. All Rights Reserved.