bool hasAnnotationOf(String classname) { final a = this; return a is ConstructorMetadataAnnotation && a.type.identifier.name == classname; }