Bug 76863

Summary: [1.5][model] IField should offer a method isEnumConstant
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Baeumer CLA 2004-10-22 16:50:12 EDT
Like IType has methods isEnum, isAnnotation, ... IField should have a method
isEnumConstant.
Comment 1 Philipe Mulet CLA 2004-10-22 19:00:23 EDT
Would be a helper for: Flags.isEnum(field.getFlags())
Comment 2 Jerome Lanneluc CLA 2005-03-22 11:23:36 EST
Added IField#isEnumConstant().
Added tests CompilationUnitTests#testIsEnumConstant1() and testIsEnumConstant2()
Comment 3 David Audel CLA 2005-03-31 06:03:40 EST
Verified in I20050330-0500