Parse and extract annotations including parameters