boolean (GroovyClassDescriptor descriptor, ProcessingContext ctx) { if (getPossibleAnnotations(descriptor.getPlaceFile()).get(StringUtil.getShortName(myAnnoQName)) != Boolean.TRUE) { return false; } return findContextAnnotation(descriptor.getPlace(), myAnnoQName) != null; }