Mega Code Archive

 
Categories / Java Book / 008 Reflection
 

0445 Is this field an Enum, is it Synthetic

boolean isEnumConstant() Returns true if this field represents an element of an enumerated type; returns false otherwise. boolean isSynthetic() Returns true if this field is a synthetic field; returns false otherwise