Prevent annotations from being applied to static fields

Modify the 'isWriteable' function to exclude static fields as well as final fields.