Removed field containing class literal in annotation as it leads to a static initializer definition for the interface type which is only legal from Java 8 on.