final Attribute attribute = new Attribute( "dna.dependency", parameters );
final Attribute[] attributes = new Attribute[]{attribute};
final ParameterDescriptor param =
new ParameterDescriptor("locator", ResourceLocator.class.getName());
final ParameterDescriptor[] params = new ParameterDescriptor[]{param};
final MethodDescriptor descriptor =
new MethodDescriptor("compose","", params, attributes, attributes );
return new ClassDescriptor( classname,
Attribute.EMPTY_SET,
Attribute.EMPTY_SET,
FieldDescriptor.EMPTY_SET,
new MethodDescriptor[]{descriptor} );