return getAnnotation(classType) != null;
}
@Override
protected String generateMatchCondition(JClassType classType) {
UrlPatternEntryPoint annotation = getAnnotation(classType);
if (annotation != null) {
return EntryPointFactoryImplGenerator.RELATIVE_PATH_VAR + ".matches(\"" + annotation.value() + "\")";
} else {
throw new RuntimeException(classType.getQualifiedSourceName()
+ " does not have a @MultipageEntryPoint annotation");
}
}