also check annotation & enum declarations