final AspectWerkzDefinition definition,
final String packageName) {
for (Iterator it1 = root.elementIterator("transformation-scope"); it1.hasNext();) {
String transformationScope = "";
Element scope = (Element)it1.next();
for (Iterator it2 = scope.attributeIterator(); it2.hasNext();) {
Attribute attribute = (Attribute)it2.next();
if (attribute.getName().trim().equals("package")) {
transformationScope = attribute.getValue().trim();
if (packageName.endsWith(".*")) {
transformationScope = packageName.substring(0, packageName.length() - 2);