net.labymod.serverapi.bukkit.event.MessageReceiveEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 11
dl 0
loc 14
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHandlers() 0 3 1
1
package net.labymod.serverapi.bukkit.event;
2
3
import com.google.gson.JsonElement;
4
import lombok.AllArgsConstructor;
5
import lombok.Getter;
6
import org.bukkit.entity.Player;
7
import org.bukkit.event.Event;
8
import org.bukkit.event.HandlerList;
9
10
/**
11
 * Class created by qlow | Jan
12
 */
13
@AllArgsConstructor
14
@Getter
15
public class MessageReceiveEvent extends Event {
16
17
    @Getter
18
    private final static HandlerList handlerList = new HandlerList();
19
20
    private Player player;
21
    private String messageKey;
22
    private JsonElement jsonElement;
23
24
    @Override
25
    public HandlerList getHandlers() {
26
        return handlerList;
27
    }
28
29
}
30