for (JPackage pack : packages) {
JClassType[] classes = pack.getTypes();
for (JClassType classtype : classes) {
MultipageEntryPoint mep = classtype
.getAnnotation(MultipageEntryPoint.class);
if (mep != null) {
log.info(classtype.getQualifiedSourceName());
pw.println(" if (relativePath.matches(\""
+ mep.urlPattern() + "\")) {");
pw.println(" GWT.runAsync(new RunAsyncCallback() {");
pw
.println(" public void onFailure(Throwable caught) {");
pw
.println(" Window.alert(\"Code download failed\");");