Annotations and generics as declaration for members