|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.ext.typeinfo.JType
com.google.gwt.core.ext.typeinfo.JClassType
com.google.gwt.core.ext.typeinfo.JRealClassType
com.google.gwt.core.ext.typeinfo.JEnumType
public class JEnumType
Type representing a Java enumerated type.
| Constructor Summary | |
|---|---|
JEnumType(TypeOracle oracle,
JPackage declaringPackage,
JClassType enclosingType,
boolean isLocalType,
java.lang.String name,
boolean isInterface)
|
|
| Method Summary | |
|---|---|
JEnumConstant[] |
getEnumConstants()
Returns the enumeration constants declared by this enumeration. |
JEnumType |
isEnum()
Returns this instance if it is an enumeration or null if it
is not. |
| Methods inherited from class com.google.gwt.core.ext.typeinfo.JClassType |
|---|
asParameterizationOf, getFlattenedSuperTypeHierarchy, isAssignableFrom, isAssignableTo, isMaybeParameterizedType, makeCompoundName |
| Methods inherited from class com.google.gwt.core.ext.typeinfo.JType |
|---|
getLeafType, getParameterizedQualifiedSourceName, isAnnotation, isClassOrInterface, isTypeParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JEnumType(TypeOracle oracle,
JPackage declaringPackage,
JClassType enclosingType,
boolean isLocalType,
java.lang.String name,
boolean isInterface)
| Method Detail |
|---|
public JEnumConstant[] getEnumConstants()
public JEnumType isEnum()
JTypenull if it
is not.
isEnum in class JRealClassTypenull if it
is not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||