/*
 * Copyright 2016, TeamDev Ltd. All rights reserved.
 *
 * Redistribution and use in source and/or binary forms, with or without
 * modification, must retain the above copyright notice and the following
 * disclaimer.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.spine3.server.event;

import com.google.protobuf.Message;
import org.spine3.base.EventContext;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Marks a method as an event subscriber.
 *
 * <p>An event subscriber method:
 * <ul>
 *     <li>is annotated with {@link Subscribe};</li>
 *     <li>is {@code public};</li>
 *     <li>returns {@code void};</li>
 *     <li>accepts an event derived from {@link Message} as the first parameter;</li>
 *     <li>(optional) accepts an {@link EventContext} as the second parameter.</li>
 * </ul>
 *
 * If the annotation is applied to a method which doesn't satisfy any of these requirements, this method is not
 * considered as an event subscriber and is not registered for event delivery from {@link EventBus}.
 *
 * @author Alexander Yevsyukov
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Subscribe {
}

@@ -1418,21 +1418,16 @@
 scribe%7D;
-%3C/li%3E
 %0A *     
@@ -1448,21 +1448,16 @@
 public%7D;
-%3C/li%3E
 %0A *     
@@ -1481,21 +1481,16 @@
 e void%7D;
-%3C/li%3E
 %0A *     
@@ -1562,21 +1562,16 @@
 rameter;
-%3C/li%3E
 %0A *     
@@ -1645,13 +1645,8 @@
 ter.
-%3C/li%3E
 %0A * 

Remove closing tags.