コード例 #1
0
 public void handle(FieldInfo info, String annotationName) {
   if (annotationName == null || !"javax.servlet.annotation.WebListener".equals(annotationName))
     return;
   LOG.warn(
       "@WebListener is not applicable to fields: "
           + info.getClassInfo().getClassName()
           + "."
           + info.getFieldName());
 }
コード例 #2
0
 public void handle(FieldInfo info, String annotation) {
   if (annotation == null || !"org.eclipse.jetty.annotations.Sample".equals(annotation)) return;
   annotatedFields.add(info.getClassInfo().getClassName() + "." + info.getFieldName());
 }