public class DelegateParticipant extends AbstractClassProcessor {
public void doTransform(final MutableClassDeclaration annotatedClass, @Extension final TransformationContext context) {
Iterable<? extends AnnotationReference> _annotations = annotatedClass.getAnnotations();
final Function1<AnnotationReference, Boolean> _function = new Function1<AnnotationReference, Boolean>() {
public Boolean apply(final AnnotationReference it) {
AnnotationTypeDeclaration _annotationTypeDeclaration = it.getAnnotationTypeDeclaration();
String _simpleName = _annotationTypeDeclaration.getSimpleName();
String _simpleName_1 = Delegate.class.getSimpleName();
return Boolean.valueOf(Objects.equal(_simpleName, _simpleName_1));
}
};
Iterable<? extends AnnotationReference> _filter = IterableExtensions.filter(_annotations, _function);