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