Fixes issue with Interface constants

The IJavaElement only declares the flag that are explicit in the source code.
Therefore you have to manually check if the field is part of an Interface