- public static String register(Matcher mtr, ModuleInfo mi, Database db) {\r
- String type = null;\r
- String temp = null;\r
- \r
- temp = mtr.group();\r
- if (MigrationTool.db.hasGuid(temp)) { // only changed guids registered, because both changed and not changed guids are included in database\r
- type = MigrationTool.db.getGuidType(temp);\r
- if (type.matches("Protocol")) {\r
- mi.addProtocol(temp, UsageTypes.ALWAYS_CONSUMED);\r
- //mi.protocols.add(temp);\r
- } else if (type.matches("Ppi")) {\r
- mi.addPpi(temp, UsageTypes.ALWAYS_CONSUMED);\r
- //mi.ppis.add(temp);\r
- } else if (type.matches("Guid")) {\r
- mi.addGuid(temp, UsageTypes.ALWAYS_CONSUMED);\r
- //mi.guids.add(temp);\r
- }\r
- return temp;\r
- }\r
- return null;\r
- }\r
+ public String r8name;\r
+\r
+ public String type;\r
+\r
+ public String name;\r
+\r
+ public String r9name;\r
+\r
+ public String guidvalue;\r
+\r
+ public String pack;\r
+\r
+ public static Pattern ptnguid = Pattern.compile("g\\w*Guid");\r
+\r
+ public static String register(Matcher mtr, ModuleInfo mi, Database db) {\r
+ String type = null;\r
+ String temp = null;\r
+\r
+ temp = mtr.group();\r
+ if (MigrationTool.db.hasGuid(temp)) { // only changed guids\r
+ // registered, because both\r
+ // changed and not changed guids\r
+ // are included in database\r
+ type = MigrationTool.db.getGuidType(temp);\r
+ if (type.matches("Protocol")) {\r
+ mi.addProtocol(temp, UsageTypes.ALWAYS_CONSUMED);\r
+ // mi.protocols.add(temp);\r
+ } else if (type.matches("Ppi")) {\r
+ mi.addPpi(temp, UsageTypes.ALWAYS_CONSUMED);\r
+ // mi.ppis.add(temp);\r
+ } else if (type.matches("Guid")) {\r
+ mi.addGuid(temp, UsageTypes.ALWAYS_CONSUMED);\r
+ // mi.guids.add(temp);\r
+ }\r
+ return temp;\r
+ }\r
+ return null;\r
+ }\r