Annotations are available since Java 5. Updated major version to 1.5 where annotations are added to fields, methods or class.