Parse annotations into classMetadata