The following document contains the results of PMD's CPD 5.2.1.
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 2027 |
| org/pircbotx/Configuration.java | 2704 |
final Builder other = (Builder)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (this.isWebIrcEnabled() != other.isWebIrcEnabled()) return false;
final java.lang.Object this$webIrcUsername = this.getWebIrcUsername();
final java.lang.Object other$webIrcUsername = other.getWebIrcUsername();
if (this$webIrcUsername == null ? other$webIrcUsername != null : !this$webIrcUsername.equals(other$webIrcUsername)) return false;
final java.lang.Object this$webIrcHostname = this.getWebIrcHostname();
final java.lang.Object other$webIrcHostname = other.getWebIrcHostname();
if (this$webIrcHostname == null ? other$webIrcHostname != null : !this$webIrcHostname.equals(other$webIrcHostname)) return false;
final java.lang.Object this$webIrcAddress = this.getWebIrcAddress();
final java.lang.Object other$webIrcAddress = other.getWebIrcAddress();
if (this$webIrcAddress == null ? other$webIrcAddress != null : !this$webIrcAddress.equals(other$webIrcAddress)) return false;
final java.lang.Object this$webIrcPassword = this.getWebIrcPassword();
final java.lang.Object other$webIrcPassword = other.getWebIrcPassword();
if (this$webIrcPassword == null ? other$webIrcPassword != null : !this$webIrcPassword.equals(other$webIrcPassword)) return false;
final java.lang.Object this$name = this.getName();
final java.lang.Object other$name = other.getName();
if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
final java.lang.Object this$login = this.getLogin();
final java.lang.Object other$login = other.getLogin();
if (this$login == null ? other$login != null : !this$login.equals(other$login)) return false;
final java.lang.Object this$version = this.getVersion();
final java.lang.Object other$version = other.getVersion();
if (this$version == null ? other$version != null : !this$version.equals(other$version)) return false;
final java.lang.Object this$finger = this.getFinger();
final java.lang.Object other$finger = other.getFinger();
if (this$finger == null ? other$finger != null : !this$finger.equals(other$finger)) return false;
final java.lang.Object this$realName = this.getRealName();
final java.lang.Object other$realName = other.getRealName();
if (this$realName == null ? other$realName != null : !this$realName.equals(other$realName)) return false;
final java.lang.Object this$channelPrefixes = this.getChannelPrefixes();
final java.lang.Object other$channelPrefixes = other.getChannelPrefixes();
if (this$channelPrefixes == null ? other$channelPrefixes != null : !this$channelPrefixes.equals(other$channelPrefixes)) return false;
final java.lang.Object this$userLevelPrefixes = this.getUserLevelPrefixes();
final java.lang.Object other$userLevelPrefixes = other.getUserLevelPrefixes();
if (this$userLevelPrefixes == null ? other$userLevelPrefixes != null : !this$userLevelPrefixes.equals(other$userLevelPrefixes)) return false;
if (this.isSnapshotsEnabled() != other.isSnapshotsEnabled()) return false;
if (this.isDccFilenameQuotes() != other.isDccFilenameQuotes()) return false;
final java.lang.Object this$dccPorts = this.getDccPorts();
final java.lang.Object other$dccPorts = other.getDccPorts();
if (this$dccPorts == null ? other$dccPorts != null : !this$dccPorts.equals(other$dccPorts)) return false;
final java.lang.Object this$dccLocalAddress = this.getDccLocalAddress();
final java.lang.Object other$dccLocalAddress = other.getDccLocalAddress();
if (this$dccLocalAddress == null ? other$dccLocalAddress != null : !this$dccLocalAddress.equals(other$dccLocalAddress)) return false;
final java.lang.Object this$dccPublicAddress = this.getDccPublicAddress();
final java.lang.Object other$dccPublicAddress = other.getDccPublicAddress();
if (this$dccPublicAddress == null ? other$dccPublicAddress != null : !this$dccPublicAddress.equals(other$dccPublicAddress)) return false;
if (this.getDccAcceptTimeout() != other.getDccAcceptTimeout()) return false;
if (this.getDccResumeAcceptTimeout() != other.getDccResumeAcceptTimeout()) return false;
if (this.getDccTransferBufferSize() != other.getDccTransferBufferSize()) return false;
if (this.isDccPassiveRequest() != other.isDccPassiveRequest()) return false;
final java.lang.Object this$servers = this.getServers();
final java.lang.Object other$servers = other.getServers();
if (this$servers == null ? other$servers != null : !this$servers.equals(other$servers)) return false;
final java.lang.Object this$serverPassword = this.getServerPassword();
final java.lang.Object other$serverPassword = other.getServerPassword();
if (this$serverPassword == null ? other$serverPassword != null : !this$serverPassword.equals(other$serverPassword)) return false;
final java.lang.Object this$socketFactory = this.getSocketFactory();
final java.lang.Object other$socketFactory = other.getSocketFactory();
if (this$socketFactory == null ? other$socketFactory != null : !this$socketFactory.equals(other$socketFactory)) return false;
final java.lang.Object this$localAddress = this.getLocalAddress();
final java.lang.Object other$localAddress = other.getLocalAddress();
if (this$localAddress == null ? other$localAddress != null : !this$localAddress.equals(other$localAddress)) return false;
final java.lang.Object this$encoding = this.getEncoding();
final java.lang.Object other$encoding = other.getEncoding();
if (this$encoding == null ? other$encoding != null : !this$encoding.equals(other$encoding)) return false;
final java.lang.Object this$locale = this.getLocale();
final java.lang.Object other$locale = other.getLocale();
if (this$locale == null ? other$locale != null : !this$locale.equals(other$locale)) return false;
if (this.getSocketConnectTimeout() != other.getSocketConnectTimeout()) return false;
if (this.getSocketTimeout() != other.getSocketTimeout()) return false;
if (this.getMaxLineLength() != other.getMaxLineLength()) return false;
if (this.isAutoSplitMessage() != other.isAutoSplitMessage()) return false;
if (this.isAutoNickChange() != other.isAutoNickChange()) return false;
final java.lang.Object this$messageDelay = this.getMessageDelay();
final java.lang.Object other$messageDelay = other.getMessageDelay();
if (this$messageDelay == null ? other$messageDelay != null : !this$messageDelay.equals(other$messageDelay)) return false;
if (this.isShutdownHookEnabled() != other.isShutdownHookEnabled()) return false;
final java.lang.Object this$autoJoinChannels = this.getAutoJoinChannels();
final java.lang.Object other$autoJoinChannels = other.getAutoJoinChannels();
if (this$autoJoinChannels == null ? other$autoJoinChannels != null : !this$autoJoinChannels.equals(other$autoJoinChannels)) return false;
if (this.isOnJoinWhoEnabled() != other.isOnJoinWhoEnabled()) return false;
if (this.isIdentServerEnabled() != other.isIdentServerEnabled()) return false;
final java.lang.Object this$nickservPassword = this.getNickservPassword();
final java.lang.Object other$nickservPassword = other.getNickservPassword();
if (this$nickservPassword == null ? other$nickservPassword != null : !this$nickservPassword.equals(other$nickservPassword)) return false;
final java.lang.Object this$nickservOnSuccess = this.getNickservOnSuccess();
final java.lang.Object other$nickservOnSuccess = other.getNickservOnSuccess();
if (this$nickservOnSuccess == null ? other$nickservOnSuccess != null : !this$nickservOnSuccess.equals(other$nickservOnSuccess)) return false;
final java.lang.Object this$nickservNick = this.getNickservNick();
final java.lang.Object other$nickservNick = other.getNickservNick();
if (this$nickservNick == null ? other$nickservNick != null : !this$nickservNick.equals(other$nickservNick)) return false;
final java.lang.Object this$nickservCustomMessage = this.getNickservCustomMessage();
final java.lang.Object other$nickservCustomMessage = other.getNickservCustomMessage();
if (this$nickservCustomMessage == null ? other$nickservCustomMessage != null : !this$nickservCustomMessage.equals(other$nickservCustomMessage)) return false;
if (this.isNickservDelayJoin() != other.isNickservDelayJoin()) return false;
if (this.isUserModeHideRealHost() != other.isUserModeHideRealHost()) return false;
if (this.isAutoReconnect() != other.isAutoReconnect()) return false;
final java.lang.Object this$autoReconnectDelay = this.getAutoReconnectDelay();
final java.lang.Object other$autoReconnectDelay = other.getAutoReconnectDelay();
if (this$autoReconnectDelay == null ? other$autoReconnectDelay != null : !this$autoReconnectDelay.equals(other$autoReconnectDelay)) return false;
if (this.getAutoReconnectAttempts() != other.getAutoReconnectAttempts()) return false;
final java.lang.Object this$listenerManager = this.getListenerManager();
final java.lang.Object other$listenerManager = other.getListenerManager();
if (this$listenerManager == null ? other$listenerManager != null : !this$listenerManager.equals(other$listenerManager)) return false;
if (this.isCapEnabled() != other.isCapEnabled()) return false;
final java.lang.Object this$capHandlers = this.getCapHandlers();
final java.lang.Object other$capHandlers = other.getCapHandlers();
if (this$capHandlers == null ? other$capHandlers != null : !this$capHandlers.equals(other$capHandlers)) return false;
final java.lang.Object this$channelModeHandlers = this.getChannelModeHandlers();
final java.lang.Object other$channelModeHandlers = other.getChannelModeHandlers();
if (this$channelModeHandlers == null ? other$channelModeHandlers != null : !this$channelModeHandlers.equals(other$channelModeHandlers)) return false;
final java.lang.Object this$botFactory = this.getBotFactory();
final java.lang.Object other$botFactory = other.getBotFactory();
if (this$botFactory == null ? other$botFactory != null : !this$botFactory.equals(other$botFactory)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Configuration.Builder; | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 2149 |
| org/pircbotx/Configuration.java | 2826 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + (this.isWebIrcEnabled() ? 79 : 97);
final java.lang.Object $webIrcUsername = this.getWebIrcUsername();
result = result * PRIME + ($webIrcUsername == null ? 43 : $webIrcUsername.hashCode());
final java.lang.Object $webIrcHostname = this.getWebIrcHostname();
result = result * PRIME + ($webIrcHostname == null ? 43 : $webIrcHostname.hashCode());
final java.lang.Object $webIrcAddress = this.getWebIrcAddress();
result = result * PRIME + ($webIrcAddress == null ? 43 : $webIrcAddress.hashCode());
final java.lang.Object $webIrcPassword = this.getWebIrcPassword();
result = result * PRIME + ($webIrcPassword == null ? 43 : $webIrcPassword.hashCode());
final java.lang.Object $name = this.getName();
result = result * PRIME + ($name == null ? 43 : $name.hashCode());
final java.lang.Object $login = this.getLogin();
result = result * PRIME + ($login == null ? 43 : $login.hashCode());
final java.lang.Object $version = this.getVersion();
result = result * PRIME + ($version == null ? 43 : $version.hashCode());
final java.lang.Object $finger = this.getFinger();
result = result * PRIME + ($finger == null ? 43 : $finger.hashCode());
final java.lang.Object $realName = this.getRealName();
result = result * PRIME + ($realName == null ? 43 : $realName.hashCode());
final java.lang.Object $channelPrefixes = this.getChannelPrefixes();
result = result * PRIME + ($channelPrefixes == null ? 43 : $channelPrefixes.hashCode());
final java.lang.Object $userLevelPrefixes = this.getUserLevelPrefixes();
result = result * PRIME + ($userLevelPrefixes == null ? 43 : $userLevelPrefixes.hashCode());
result = result * PRIME + (this.isSnapshotsEnabled() ? 79 : 97);
result = result * PRIME + (this.isDccFilenameQuotes() ? 79 : 97);
final java.lang.Object $dccPorts = this.getDccPorts();
result = result * PRIME + ($dccPorts == null ? 43 : $dccPorts.hashCode());
final java.lang.Object $dccLocalAddress = this.getDccLocalAddress();
result = result * PRIME + ($dccLocalAddress == null ? 43 : $dccLocalAddress.hashCode());
final java.lang.Object $dccPublicAddress = this.getDccPublicAddress();
result = result * PRIME + ($dccPublicAddress == null ? 43 : $dccPublicAddress.hashCode());
result = result * PRIME + this.getDccAcceptTimeout();
result = result * PRIME + this.getDccResumeAcceptTimeout();
result = result * PRIME + this.getDccTransferBufferSize();
result = result * PRIME + (this.isDccPassiveRequest() ? 79 : 97);
final java.lang.Object $servers = this.getServers();
result = result * PRIME + ($servers == null ? 43 : $servers.hashCode());
final java.lang.Object $serverPassword = this.getServerPassword();
result = result * PRIME + ($serverPassword == null ? 43 : $serverPassword.hashCode());
final java.lang.Object $socketFactory = this.getSocketFactory();
result = result * PRIME + ($socketFactory == null ? 43 : $socketFactory.hashCode());
final java.lang.Object $localAddress = this.getLocalAddress();
result = result * PRIME + ($localAddress == null ? 43 : $localAddress.hashCode());
final java.lang.Object $encoding = this.getEncoding();
result = result * PRIME + ($encoding == null ? 43 : $encoding.hashCode());
final java.lang.Object $locale = this.getLocale();
result = result * PRIME + ($locale == null ? 43 : $locale.hashCode());
result = result * PRIME + this.getSocketConnectTimeout();
result = result * PRIME + this.getSocketTimeout();
result = result * PRIME + this.getMaxLineLength();
result = result * PRIME + (this.isAutoSplitMessage() ? 79 : 97);
result = result * PRIME + (this.isAutoNickChange() ? 79 : 97);
final java.lang.Object $messageDelay = this.getMessageDelay();
result = result * PRIME + ($messageDelay == null ? 43 : $messageDelay.hashCode());
result = result * PRIME + (this.isShutdownHookEnabled() ? 79 : 97);
final java.lang.Object $autoJoinChannels = this.getAutoJoinChannels();
result = result * PRIME + ($autoJoinChannels == null ? 43 : $autoJoinChannels.hashCode());
result = result * PRIME + (this.isOnJoinWhoEnabled() ? 79 : 97);
result = result * PRIME + (this.isIdentServerEnabled() ? 79 : 97);
final java.lang.Object $nickservPassword = this.getNickservPassword();
result = result * PRIME + ($nickservPassword == null ? 43 : $nickservPassword.hashCode());
final java.lang.Object $nickservOnSuccess = this.getNickservOnSuccess();
result = result * PRIME + ($nickservOnSuccess == null ? 43 : $nickservOnSuccess.hashCode());
final java.lang.Object $nickservNick = this.getNickservNick();
result = result * PRIME + ($nickservNick == null ? 43 : $nickservNick.hashCode());
final java.lang.Object $nickservCustomMessage = this.getNickservCustomMessage();
result = result * PRIME + ($nickservCustomMessage == null ? 43 : $nickservCustomMessage.hashCode());
result = result * PRIME + (this.isNickservDelayJoin() ? 79 : 97);
result = result * PRIME + (this.isUserModeHideRealHost() ? 79 : 97);
result = result * PRIME + (this.isAutoReconnect() ? 79 : 97);
final java.lang.Object $autoReconnectDelay = this.getAutoReconnectDelay();
result = result * PRIME + ($autoReconnectDelay == null ? 43 : $autoReconnectDelay.hashCode());
result = result * PRIME + this.getAutoReconnectAttempts();
final java.lang.Object $listenerManager = this.getListenerManager();
result = result * PRIME + ($listenerManager == null ? 43 : $listenerManager.hashCode());
result = result * PRIME + (this.isCapEnabled() ? 79 : 97);
final java.lang.Object $capHandlers = this.getCapHandlers();
result = result * PRIME + ($capHandlers == null ? 43 : $capHandlers.hashCode());
final java.lang.Object $channelModeHandlers = this.getChannelModeHandlers();
result = result * PRIME + ($channelModeHandlers == null ? 43 : $channelModeHandlers.hashCode());
final java.lang.Object $botFactory = this.getBotFactory();
result = result * PRIME + ($botFactory == null ? 43 : $botFactory.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "Configuration.Builder(webIrcEnabled=" + this.isWebIrcEnabled() + ", webIrcUsername=" + this.getWebIrcUsername() + ", webIrcHostname=" + this.getWebIrcHostname() + ", webIrcAddress=" + this.getWebIrcAddress() + ", webIrcPassword=" + this.getWebIrcPassword() + ", name=" + this.getName() + ", login=" + this.getLogin() + ", version=" + this.getVersion() + ", finger=" + this.getFinger() + ", realName=" + this.getRealName() + ", channelPrefixes=" + this.getChannelPrefixes() + ", userLevelPrefixes=" + this.getUserLevelPrefixes() + ", snapshotsEnabled=" + this.isSnapshotsEnabled() + ", dccFilenameQuotes=" + this.isDccFilenameQuotes() + ", dccPorts=" + this.getDccPorts() + ", dccLocalAddress=" + this.getDccLocalAddress() + ", dccPublicAddress=" + this.getDccPublicAddress() + ", dccAcceptTimeout=" + this.getDccAcceptTimeout() + ", dccResumeAcceptTimeout=" + this.getDccResumeAcceptTimeout() + ", dccTransferBufferSize=" + this.getDccTransferBufferSize() + ", dccPassiveRequest=" + this.isDccPassiveRequest() + ", servers=" + this.getServers() + ", serverPassword=" + this.getServerPassword() + ", socketFactory=" + this.getSocketFactory() + ", localAddress=" + this.getLocalAddress() + ", encoding=" + this.getEncoding() + ", locale=" + this.getLocale() + ", socketConnectTimeout=" + this.getSocketConnectTimeout() + ", socketTimeout=" + this.getSocketTimeout() + ", maxLineLength=" + this.getMaxLineLength() + ", autoSplitMessage=" + this.isAutoSplitMessage() + ", autoNickChange=" + this.isAutoNickChange() + ", messageDelay=" + this.getMessageDelay() + ", shutdownHookEnabled=" + this.isShutdownHookEnabled() + ", autoJoinChannels=" + this.getAutoJoinChannels() + ", onJoinWhoEnabled=" + this.isOnJoinWhoEnabled() + ", identServerEnabled=" + this.isIdentServerEnabled() + ", nickservPassword=" + this.getNickservPassword() + ", nickservOnSuccess=" + this.getNickservOnSuccess() + ", nickservNick=" + this.getNickservNick() + ", nickservCustomMessage=" + this.getNickservCustomMessage() + ", nickservDelayJoin=" + this.isNickservDelayJoin() + ", userModeHideRealHost=" + this.isUserModeHideRealHost() + ", autoReconnect=" + this.isAutoReconnect() + ", autoReconnectDelay=" + this.getAutoReconnectDelay() + ", autoReconnectAttempts=" + this.getAutoReconnectAttempts() + ", listenerManager=" + this.getListenerManager() + ", capEnabled=" + this.isCapEnabled() + ", capHandlers=" + this.getCapHandlers() + ", channelModeHandlers=" + this.getChannelModeHandlers() + ", botFactory=" + this.getBotFactory() + ")"; | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 962 |
| org/pircbotx/Configuration.java | 2396 |
}
/**
* Enable or disable sending WEBIRC line on connect, default disabled
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isWebIrcEnabled() {
return this.webIrcEnabled;
}
/**
* Username of WEBIRC connection, must not be blank if WEBIRC is enabled
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getWebIrcUsername() {
return this.webIrcUsername;
}
/**
* Hostname of WEBIRC connection, must not be blank if WEBIRC is enabled
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getWebIrcHostname() {
return this.webIrcHostname;
}
/**
* IP address of WEBIRC connection, must be set if WEBIRC is enabled
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public InetAddress getWebIrcAddress() {
return this.webIrcAddress;
}
/**
* Password of WEBIRC connection, must not be blank if WEBIRC is enabled
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getWebIrcPassword() {
return this.webIrcPassword;
}
/**
* The nick to be used for the IRC connection (nick!login@host), must
* not be blank
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getName() {
return this.name;
}
/**
* The login to be used for the IRC connection (nick!login@host),
* default PircBotX
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getLogin() {
return this.login;
}
/**
* CTCP version response.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getVersion() {
return this.version;
}
/**
* CTCP finger response
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getFinger() {
return this.finger;
}
/**
* The realName/fullname used for WHOIS info, defaults to version
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getRealName() {
return this.realName;
}
/**
* Allowed channel prefix characters, default <code>#&+!</code>
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getChannelPrefixes() {
return this.channelPrefixes;
}
/**
* Supported channel prefixes that restrict a sent message to users with
* this mode, eg <code>PRIVMSG +#channel :hello</code> will only send a
* message to voiced or higher users, default <code>+@%&~!</code>
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getUserLevelPrefixes() {
return this.userLevelPrefixes;
}
/**
* Enable creation of snapshots, default true. In bulk datasets or very
* lower power devices, creating snapshots can be a relatively expensive
* operation for every
* {@link org.pircbotx.hooks.types.GenericSnapshotEvent} (eg PartEvent,
* QuitEvent) since the entire UserChannelDao with all of its users and
* channels is cloned. This can optionally disabled by setting this to
* false, however this makes all
* {@link org.pircbotx.hooks.types.GenericSnapshotEvent#getUserChannelDaoSnapshot()}
* calls return null.
* <p>
* In regular usage disabling snapshots is not necessary because there
* relatively few user QUITs and PARTs per second.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isSnapshotsEnabled() {
return this.snapshotsEnabled;
}
/**
* If true sends filenames in quotes, otherwise uses underscores,
* default enabled.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isDccFilenameQuotes() {
return this.dccFilenameQuotes;
}
/**
* Ports to allow DCC incoming connections, recommended to set multiple
* as DCC connections will be rejected if no free port can be found
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public List<Integer> getDccPorts() { | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 1278 |
| org/pircbotx/Configuration.java | 2604 |
public Map<String, String> getAutoJoinChannels() {
return this.autoJoinChannels;
}
/**
* Enable or disable sending "WHO #channel" upon joining a channel and
* rely only on the NAMES response
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isOnJoinWhoEnabled() {
return this.onJoinWhoEnabled;
}
/**
* Enable or disable use of an existing {@link IdentServer}, default
* false. Note that the IdentServer must be started separately or else
* an exception will be thrown
*
* @see IdentServer
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isIdentServerEnabled() {
return this.identServerEnabled;
}
/**
* Password to authenticate against NICKSERV, default null (will not try
* to identify)
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getNickservPassword() {
return this.nickservPassword;
}
/**
* Case-insensitive message a user with
* {@link #setNickservNick(java.lang.String) } in its hostmask will
* always contain when we have successfully identified, defaults to "you
* are now" which which matches all of the following known server
* responses:
* <ul>
* <li>ircd-seven (freenode) - You are now identified for PircBotX</li>
* <li>Unreal (swiftirc) - Password accepted - you are now
* recognized.</li>
* <li>InspIRCd (mozilla) - You are now logged in as PircBotX</li>
* </ul>
*
* @see PircBotX#isNickservIdentified()
* @see #setNickservNick(java.lang.String)
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getNickservOnSuccess() {
return this.nickservOnSuccess;
}
/**
* The nick of the nickserv service account, default "nickserv".
*
* @see PircBotX#isNickservIdentified()
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getNickservNick() {
return this.nickservNick;
}
/**
* Some irc servers require a custom identify string.
* eg: Quakenet: <code>PRIVMSG Q@CServe.quakenet.org :AUTH USER PASS</code>
* default = null
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getNickservCustomMessage() {
return this.nickservCustomMessage;
}
/**
* Delay joining channels until were identified to nickserv, default
* false
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isNickservDelayJoin() {
return this.nickservDelayJoin;
}
/**
* Sets mode +x on the bot, to hide the real hostname, default = false
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isUserModeHideRealHost() {
return this.userModeHideRealHost;
}
/**
* Enable or disable automatic reconnecting, default false. Note that
* you MUST call {@link PircBotX#stopBotReconnect() } when you do not
* want the bot to reconnect anymore!
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isAutoReconnect() {
return this.autoReconnect;
}
/**
* Delay in milliseconds between reconnect attempts, default 0.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Delay getAutoReconnectDelay() {
return this.autoReconnectDelay;
}
/**
* Number of times to attempt to reconnect, default 5.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getAutoReconnectAttempts() {
return this.autoReconnectAttempts;
}
/**
* Enable or disable CAP handling, defaults true.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isCapEnabled() {
return this.capEnabled;
}
/**
* IRCv3 CAP features to try to use, default enables multi-prefix and
* away-notify but ignoring if the server doesn't support them
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public List<CapHandler> getCapHandlers() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 116 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 118 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $key = this.getKey();
result = result * PRIME + ($key == null ? 43 : $key.hashCode());
return result;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 125 |
| org/pircbotx/hooks/events/OpEvent.java | 123 |
| org/pircbotx/hooks/events/OwnerEvent.java | 136 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 125 |
| org/pircbotx/hooks/events/VoiceEvent.java | 123 |
final HalfOpEvent other = (HalfOpEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); final java.lang.Object other$recipientHostmask = other.getRecipientHostmask(); if (this$recipientHostmask == null ? other$recipientHostmask != null : !this$recipientHostmask.equals(other$recipientHostmask)) return false; final java.lang.Object this$recipient = this.getRecipient(); final java.lang.Object other$recipient = other.getRecipient(); if (this$recipient == null ? other$recipient != null : !this$recipient.equals(other$recipient)) return false; if (this.isHalfOp() != other.isHalfOp()) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 125 |
| org/pircbotx/hooks/events/KickEvent.java | 123 |
| org/pircbotx/hooks/events/OpEvent.java | 123 |
| org/pircbotx/hooks/events/OwnerEvent.java | 136 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 125 |
| org/pircbotx/hooks/events/VoiceEvent.java | 123 |
final HalfOpEvent other = (HalfOpEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); final java.lang.Object other$recipientHostmask = other.getRecipientHostmask(); if (this$recipientHostmask == null ? other$recipientHostmask != null : !this$recipientHostmask.equals(other$recipientHostmask)) return false; final java.lang.Object this$recipient = this.getRecipient(); final java.lang.Object other$recipient = other.getRecipient(); if (this$recipient == null ? other$recipient != null : !this$recipient.equals(other$recipient)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 94 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 96 |
final RemoveChannelKeyEvent other = (RemoveChannelKeyEvent)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$channel = this.getChannel();
final java.lang.Object other$channel = other.getChannel();
if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false;
final java.lang.Object this$userHostmask = this.getUserHostmask();
final java.lang.Object other$userHostmask = other.getUserHostmask();
if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false;
final java.lang.Object this$user = this.getUser();
final java.lang.Object other$user = other.getUser();
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false;
final java.lang.Object this$key = this.getKey();
final java.lang.Object other$key = other.getKey();
if (this$key == null ? other$key != null : !this$key.equals(other$key)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RemoveChannelKeyEvent; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 112 |
| org/pircbotx/hooks/events/TimeEvent.java | 112 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 98 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 99 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 103 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 98 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 99 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
return result;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/IncomingChatRequestEvent.java | 177 |
| org/pircbotx/hooks/events/IncomingFileTransferEvent.java | 240 |
result = result * PRIME + this.getPort();
final java.lang.Object $token = this.getToken();
result = result * PRIME + ($token == null ? 43 : $token.hashCode());
result = result * PRIME + (this.isPassive() ? 79 : 97);
return result;
}
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public InetAddress getAddress() {
return this.address;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getPort() {
return this.port;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getToken() {
return this.token;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isPassive() {
return this.passive;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/MessageEvent.java | 175 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 122 |
if (this$channelSource == null ? other$channelSource != null : !this$channelSource.equals(other$channelSource)) return false;
final java.lang.Object this$userHostmask = this.getUserHostmask();
final java.lang.Object other$userHostmask = other.getUserHostmask();
if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false;
final java.lang.Object this$user = this.getUser();
final java.lang.Object other$user = other.getUser();
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false;
final java.lang.Object this$message = this.getMessage();
final java.lang.Object other$message = other.getMessage();
if (this$message == null ? other$message != null : !this$message.equals(other$message)) return false;
final java.lang.Object this$tags = this.getTags();
final java.lang.Object other$tags = other.getTags();
if (this$tags == null ? other$tags != null : !this$tags.equals(other$tags)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof MessageEvent; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 191 |
| org/pircbotx/hooks/events/NoticeEvent.java | 183 |
final ActionEvent other = (ActionEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$channelSource = this.getChannelSource(); final java.lang.Object other$channelSource = other.getChannelSource(); if (this$channelSource == null ? other$channelSource != null : !this$channelSource.equals(other$channelSource)) return false; final java.lang.Object this$action = this.getAction(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 151 |
| org/pircbotx/hooks/events/OpEvent.java | 149 |
| org/pircbotx/hooks/events/OwnerEvent.java | 162 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 151 |
| org/pircbotx/hooks/events/VoiceEvent.java | 149 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $recipientHostmask = this.getRecipientHostmask();
result = result * PRIME + ($recipientHostmask == null ? 43 : $recipientHostmask.hashCode());
final java.lang.Object $recipient = this.getRecipient();
result = result * PRIME + ($recipient == null ? 43 : $recipient.hashCode());
result = result * PRIME + (this.isHalfOp() ? 79 : 97); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 98 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 99 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 103 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 98 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 99 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 112 |
| org/pircbotx/hooks/events/TimeEvent.java | 112 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
return result;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
@Override
@java.lang.SuppressWarnings("all") | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 151 |
| org/pircbotx/hooks/events/KickEvent.java | 151 |
| org/pircbotx/hooks/events/OpEvent.java | 149 |
| org/pircbotx/hooks/events/OwnerEvent.java | 162 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 151 |
| org/pircbotx/hooks/events/VoiceEvent.java | 149 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $recipientHostmask = this.getRecipientHostmask();
result = result * PRIME + ($recipientHostmask == null ? 43 : $recipientHostmask.hashCode());
final java.lang.Object $recipient = this.getRecipient();
result = result * PRIME + ($recipient == null ? 43 : $recipient.hashCode()); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/FingerEvent.java | 101 |
| org/pircbotx/hooks/events/VersionEvent.java | 89 |
final FingerEvent other = (FingerEvent)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$userHostmask = this.getUserHostmask();
final java.lang.Object other$userHostmask = other.getUserHostmask();
if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false;
final java.lang.Object this$user = this.getUser();
final java.lang.Object other$user = other.getUser();
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false;
final java.lang.Object this$channel = this.getChannel();
final java.lang.Object other$channel = other.getChannel();
if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof FingerEvent; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 80 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 79 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 80 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 84 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 80 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 79 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 80 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 93 |
| org/pircbotx/hooks/events/TimeEvent.java | 93 |
final RemoveChannelLimitEvent other = (RemoveChannelLimitEvent)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$channel = this.getChannel();
final java.lang.Object other$channel = other.getChannel();
if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false;
final java.lang.Object this$userHostmask = this.getUserHostmask();
final java.lang.Object other$userHostmask = other.getUserHostmask();
if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false;
final java.lang.Object this$user = this.getUser();
final java.lang.Object other$user = other.getUser();
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RemoveChannelLimitEvent; | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 1210 |
| org/pircbotx/Configuration.java | 2564 |
}
/**
* Milliseconds to wait with no data from the IRC server before sending
* a PING request to check if the socket is still alive, default 5
* minutes (1000x60x5=300,000 milliseconds)
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getSocketTimeout() {
return this.socketTimeout;
}
/**
* Maximum line length of IRC server, defaults 512 characters
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getMaxLineLength() {
return this.maxLineLength;
}
/**
* Enable or disable automatic message splitting to fit
* {@link #getMaxLineLength()} to prevent the IRC server from possibly
* truncating or rejecting the line, default true.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isAutoSplitMessage() {
return this.autoSplitMessage;
}
/**
* Enable or disable automatic nick changing if a nick is in use by
* adding a number to the end, default false which will throw a
* {@link IrcException} if the nick is already in use on the server
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isAutoNickChange() {
return this.autoNickChange;
}
/**
* Millisecond delay between sending messages, default 1000 milliseconds
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Delay getMessageDelay() {
return this.messageDelay;
}
/**
* Enable or disable creating a JVM shutdown hook which will properly
* QUIT the IRC server and shutdown the bot, default true
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isShutdownHookEnabled() {
return this.shutdownHookEnabled;
}
/**
* Map of channels and keys to automatically join upon connecting.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Map<String, String> getAutoJoinChannels() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/KickEvent.java | 128 |
| org/pircbotx/hooks/events/UserModeEvent.java | 122 |
if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); final java.lang.Object other$recipientHostmask = other.getRecipientHostmask(); if (this$recipientHostmask == null ? other$recipientHostmask != null : !this$recipientHostmask.equals(other$recipientHostmask)) return false; final java.lang.Object this$recipient = this.getRecipient(); final java.lang.Object other$recipient = other.getRecipient(); if (this$recipient == null ? other$recipient != null : !this$recipient.equals(other$recipient)) return false; final java.lang.Object this$reason = this.getReason(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 130 |
| org/pircbotx/hooks/events/OpEvent.java | 128 |
| org/pircbotx/hooks/events/OwnerEvent.java | 141 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 130 |
| org/pircbotx/hooks/events/UserModeEvent.java | 122 |
| org/pircbotx/hooks/events/VoiceEvent.java | 128 |
if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); final java.lang.Object other$recipientHostmask = other.getRecipientHostmask(); if (this$recipientHostmask == null ? other$recipientHostmask != null : !this$recipientHostmask.equals(other$recipientHostmask)) return false; final java.lang.Object this$recipient = this.getRecipient(); final java.lang.Object other$recipient = other.getRecipient(); if (this$recipient == null ? other$recipient != null : !this$recipient.equals(other$recipient)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 219 |
| org/pircbotx/hooks/events/NoticeEvent.java | 211 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $channelSource = this.getChannelSource();
result = result * PRIME + ($channelSource == null ? 43 : $channelSource.hashCode());
final java.lang.Object $action = this.getAction(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/FingerEvent.java | 120 |
| org/pircbotx/hooks/events/VersionEvent.java | 108 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
return result;
}
/**
* The user hostmask that sent the FINGER request.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that sent the FINGER request.
*/
@Override
@Nullable | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 1160 |
| org/pircbotx/Configuration.java | 2526 |
public List<ServerEntry> getServers() {
return this.servers;
}
/**
* Password for IRC server, default null
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getServerPassword() {
return this.serverPassword;
}
/**
* Socket factory for connections, defaults to {@link SocketFactory#getDefault()
* }
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public SocketFactory getSocketFactory() {
return this.socketFactory;
}
/**
* Address to bind to when connecting to IRC server, default null
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public InetAddress getLocalAddress() {
return this.localAddress;
}
/**
* Charset encoding to use for connection, defaults to
* {@link Charset#defaultCharset()}
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Charset getEncoding() {
return this.encoding;
}
/**
* Locale to use for connection, defaults to {@link Locale#getDefault()
* }
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Locale getLocale() {
return this.locale;
}
/**
* Milliseconds to wait with no data from the IRC server before sending
* a PING request to check if the socket is still alive, default 5
* minutes (1000x60x5=300,000 milliseconds)
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getSocketTimeout() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 191 |
| org/pircbotx/hooks/events/NoticeEvent.java | 183 |
| org/pircbotx/hooks/events/PingEvent.java | 112 |
final ActionEvent other = (ActionEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$channelSource = this.getChannelSource(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 125 |
| org/pircbotx/hooks/events/KickEvent.java | 123 |
| org/pircbotx/hooks/events/ModeEvent.java | 122 |
| org/pircbotx/hooks/events/OpEvent.java | 123 |
| org/pircbotx/hooks/events/OwnerEvent.java | 136 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 111 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 94 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 106 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 96 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 125 |
| org/pircbotx/hooks/events/VoiceEvent.java | 123 |
final HalfOpEvent other = (HalfOpEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 2246 |
| org/pircbotx/Configuration.java | 2923 |
return "Configuration.Builder(webIrcEnabled=" + this.isWebIrcEnabled() + ", webIrcUsername=" + this.getWebIrcUsername() + ", webIrcHostname=" + this.getWebIrcHostname() + ", webIrcAddress=" + this.getWebIrcAddress() + ", webIrcPassword=" + this.getWebIrcPassword() + ", name=" + this.getName() + ", login=" + this.getLogin() + ", version=" + this.getVersion() + ", finger=" + this.getFinger() + ", realName=" + this.getRealName() + ", channelPrefixes=" + this.getChannelPrefixes() + ", userLevelPrefixes=" + this.getUserLevelPrefixes() + ", snapshotsEnabled=" + this.isSnapshotsEnabled() + ", dccFilenameQuotes=" + this.isDccFilenameQuotes() + ", dccPorts=" + this.getDccPorts() + ", dccLocalAddress=" + this.getDccLocalAddress() + ", dccPublicAddress=" + this.getDccPublicAddress() + ", dccAcceptTimeout=" + this.getDccAcceptTimeout() + ", dccResumeAcceptTimeout=" + this.getDccResumeAcceptTimeout() + ", dccTransferBufferSize=" + this.getDccTransferBufferSize() + ", dccPassiveRequest=" + this.isDccPassiveRequest() + ", servers=" + this.getServers() + ", serverPassword=" + this.getServerPassword() + ", socketFactory=" + this.getSocketFactory() + ", localAddress=" + this.getLocalAddress() + ", encoding=" + this.getEncoding() + ", locale=" + this.getLocale() + ", socketConnectTimeout=" + this.getSocketConnectTimeout() + ", socketTimeout=" + this.getSocketTimeout() + ", maxLineLength=" + this.getMaxLineLength() + ", autoSplitMessage=" + this.isAutoSplitMessage() + ", autoNickChange=" + this.isAutoNickChange() + ", messageDelay=" + this.getMessageDelay() + ", shutdownHookEnabled=" + this.isShutdownHookEnabled() + ", autoJoinChannels=" + this.getAutoJoinChannels() + ", onJoinWhoEnabled=" + this.isOnJoinWhoEnabled() + ", identServerEnabled=" + this.isIdentServerEnabled() + ", nickservPassword=" + this.getNickservPassword() + ", nickservOnSuccess=" + this.getNickservOnSuccess() + ", nickservNick=" + this.getNickservNick() + ", nickservCustomMessage=" + this.getNickservCustomMessage() + ", nickservDelayJoin=" + this.isNickservDelayJoin() + ", userModeHideRealHost=" + this.isUserModeHideRealHost() + ", autoReconnect=" + this.isAutoReconnect() + ", autoReconnectDelay=" + this.getAutoReconnectDelay() + ", autoReconnectAttempts=" + this.getAutoReconnectAttempts() + ", listenerManager=" + this.getListenerManager() + ", capEnabled=" + this.isCapEnabled() + ", capHandlers=" + this.getCapHandlers() + ", channelModeHandlers=" + this.getChannelModeHandlers() + ", botFactory=" + this.getBotFactory() + ")"; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 47 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 49 |
public RemoveChannelKeyEvent(PircBotX bot, @NonNull Channel channel, @NonNull UserHostmask userHostmask, User user, String key) {
super(bot);
if (channel == null) {
throw new java.lang.NullPointerException("channel");
}
if (userHostmask == null) {
throw new java.lang.NullPointerException("userHostmask");
}
this.channel = channel;
this.userHostmask = userHostmask;
this.user = user;
this.key = key;
}
/**
* Respond by send a message in the channel to the user that removed the
* mode in <code>user: message</code> format
*
* @param response The response to send
*/
@Override
public void respond(String response) {
getChannel().send().message(getUser(), response);
}
/**
* The key that was in use before the channel key was removed.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getKey() {
return this.key;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "RemoveChannelKeyEvent(channel=" + this.getChannel() + ", userHostmask=" + this.getUserHostmask() + ", user=" + this.getUser() + ", key=" + this.getKey() + ")"; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 191 |
| org/pircbotx/hooks/events/FingerEvent.java | 101 |
| org/pircbotx/hooks/events/NoticeEvent.java | 183 |
| org/pircbotx/hooks/events/PingEvent.java | 112 |
| org/pircbotx/hooks/events/VersionEvent.java | 89 |
final ActionEvent other = (ActionEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 125 |
| org/pircbotx/hooks/events/KickEvent.java | 123 |
| org/pircbotx/hooks/events/ModeEvent.java | 122 |
| org/pircbotx/hooks/events/OpEvent.java | 123 |
| org/pircbotx/hooks/events/OwnerEvent.java | 136 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 111 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 94 |
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 80 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 79 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 79 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 106 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 96 |
| org/pircbotx/hooks/events/SetChannelLimitEvent.java | 95 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 80 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 84 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 80 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 79 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 80 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 93 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 125 |
| org/pircbotx/hooks/events/TimeEvent.java | 93 |
| org/pircbotx/hooks/events/VoiceEvent.java | 123 |
final HalfOpEvent other = (HalfOpEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 170 |
| org/pircbotx/hooks/events/OpEvent.java | 168 |
| org/pircbotx/hooks/events/OwnerEvent.java | 181 |
result = result * PRIME + (this.isHalfOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The user hostmask that received the half-op
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The user that received the half-op
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getRecipient() {
return this.recipient;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 170 |
| org/pircbotx/hooks/events/OpEvent.java | 168 |
| org/pircbotx/hooks/events/OwnerEvent.java | 181 |
| org/pircbotx/hooks/events/VoiceEvent.java | 168 |
result = result * PRIME + (this.isHalfOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The user hostmask that received the half-op
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The user that received the half-op
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getRecipient() {
return this.recipient;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 170 |
| org/pircbotx/hooks/events/KickEvent.java | 171 |
| org/pircbotx/hooks/events/OpEvent.java | 168 |
| org/pircbotx/hooks/events/OwnerEvent.java | 181 |
| org/pircbotx/hooks/events/VoiceEvent.java | 168 |
result = result * PRIME + (this.isHalfOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The user hostmask that received the half-op
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The user that received the half-op
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getRecipient() {
return this.recipient;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 219 |
| org/pircbotx/hooks/events/NoticeEvent.java | 211 |
| org/pircbotx/hooks/events/PingEvent.java | 134 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $channelSource = this.getChannelSource(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 151 |
| org/pircbotx/hooks/events/KickEvent.java | 151 |
| org/pircbotx/hooks/events/ModeEvent.java | 147 |
| org/pircbotx/hooks/events/OpEvent.java | 149 |
| org/pircbotx/hooks/events/OwnerEvent.java | 162 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 133 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 116 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 128 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 118 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 151 |
| org/pircbotx/hooks/events/VoiceEvent.java | 149 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $recipientHostmask = this.getRecipientHostmask(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/MessageEvent.java | 207 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 150 |
result = result * PRIME + ($channelSource == null ? 43 : $channelSource.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $message = this.getMessage();
result = result * PRIME + ($message == null ? 43 : $message.hashCode());
final java.lang.Object $tags = this.getTags();
result = result * PRIME + ($tags == null ? 43 : $tags.hashCode());
return result;
}
/**
* The channel to which the message was sent.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 127 |
| org/pircbotx/hooks/events/KickEvent.java | 125 |
| org/pircbotx/hooks/events/ModeEvent.java | 124 |
| org/pircbotx/hooks/events/OpEvent.java | 125 |
| org/pircbotx/hooks/events/OwnerEvent.java | 138 |
| org/pircbotx/hooks/events/PartEvent.java | 137 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 113 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 96 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 108 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 98 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 127 |
| org/pircbotx/hooks/events/VoiceEvent.java | 125 |
if (!super.equals(o)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$recipientHostmask = this.getRecipientHostmask(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 219 |
| org/pircbotx/hooks/events/FingerEvent.java | 120 |
| org/pircbotx/hooks/events/NoticeEvent.java | 211 |
| org/pircbotx/hooks/events/PingEvent.java | 134 |
| org/pircbotx/hooks/events/VersionEvent.java | 108 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode()); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 151 |
| org/pircbotx/hooks/events/KickEvent.java | 151 |
| org/pircbotx/hooks/events/ModeEvent.java | 147 |
| org/pircbotx/hooks/events/OpEvent.java | 149 |
| org/pircbotx/hooks/events/OwnerEvent.java | 162 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 133 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 116 |
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 98 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 98 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 128 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 118 |
| org/pircbotx/hooks/events/SetChannelLimitEvent.java | 115 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 99 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 103 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 99 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 98 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 99 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 112 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 151 |
| org/pircbotx/hooks/events/TimeEvent.java | 112 |
| org/pircbotx/hooks/events/VoiceEvent.java | 149 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $channel = this.getChannel();
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode()); | |
| File | Line |
|---|---|
| org/pircbotx/UserHostmask.java | 206 |
| org/pircbotx/hooks/events/WhoisEvent.java | 272 |
if (this$bot == null ? other$bot != null : !this$bot.equals(other$bot)) return false; final java.lang.Object this$nick = this.getNick(); final java.lang.Object other$nick = other.getNick(); if (this$nick == null ? other$nick != null : !this$nick.equals(other$nick)) return false; final java.lang.Object this$login = this.getLogin(); final java.lang.Object other$login = other.getLogin(); if (this$login == null ? other$login != null : !this$login.equals(other$login)) return false; final java.lang.Object this$hostname = this.getHostname(); final java.lang.Object other$hostname = other.getHostname(); if (this$hostname == null ? other$hostname != null : !this$hostname.equals(other$hostname)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/PartEvent.java | 137 |
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 81 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 81 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 81 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 82 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 81 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 81 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 81 |
| org/pircbotx/hooks/events/SetChannelLimitEvent.java | 97 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 82 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 86 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 82 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 81 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 82 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 95 |
| org/pircbotx/hooks/events/TimeEvent.java | 95 |
if (this$userChannelDaoSnapshot == null ? other$userChannelDaoSnapshot != null : !this$userChannelDaoSnapshot.equals(other$userChannelDaoSnapshot)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 170 |
| org/pircbotx/hooks/events/OpEvent.java | 168 |
| org/pircbotx/hooks/events/OwnerEvent.java | 181 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 170 |
result = result * PRIME + (this.isHalfOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The user hostmask that received the half-op
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The user that received the half-op
*/
@Override
@Nullable | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/SuperOpEvent.java | 170 |
| org/pircbotx/hooks/events/VoiceEvent.java | 168 |
result = result * PRIME + (this.isSuperOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The nick of the user that got 'voiced'.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The nick of the user that got 'voiced'.
*/
@Override
@java.lang.SuppressWarnings("all") | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 42 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 42 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 42 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 43 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 42 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 42 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 42 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 43 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 44 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 43 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 42 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 43 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 56 |
public RemoveChannelLimitEvent(PircBotX bot, @NonNull Channel channel, @NonNull UserHostmask userHostmask, User user) {
super(bot);
if (channel == null) {
throw new java.lang.NullPointerException("channel");
}
if (userHostmask == null) {
throw new java.lang.NullPointerException("userHostmask");
}
this.channel = channel;
this.userHostmask = userHostmask;
this.user = user;
}
/**
* Respond by send a message in the channel to the user that removed the
* mode in <code>user: message</code> format
*
* @param response The response to send
*/
@Override
public void respond(String response) {
getChannel().send().message(getUser(), response);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "RemoveChannelLimitEvent(channel=" + this.getChannel() + ", userHostmask=" + this.getUserHostmask() + ", user=" + this.getUser() + ")"; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/KickEvent.java | 161 |
| org/pircbotx/hooks/events/UserModeEvent.java | 153 |
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode()); final java.lang.Object $userHostmask = this.getUserHostmask(); result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode()); final java.lang.Object $user = this.getUser(); result = result * PRIME + ($user == null ? 43 : $user.hashCode()); final java.lang.Object $recipientHostmask = this.getRecipientHostmask(); result = result * PRIME + ($recipientHostmask == null ? 43 : $recipientHostmask.hashCode()); final java.lang.Object $recipient = this.getRecipient(); result = result * PRIME + ($recipient == null ? 43 : $recipient.hashCode()); final java.lang.Object $reason = this.getReason(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/KickEvent.java | 171 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 170 |
result = result * PRIME + ($reason == null ? 43 : $reason.hashCode());
return result;
}
/**
* The channel from which the recipient was kicked.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the kick.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user who performed the kick.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The unfortunate recipient hostmask of the kick.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() {
return this.recipientHostmask;
}
/**
* The unfortunate recipient of the kick.
*/
@Override
@Nullable | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/NickChangeEvent.java | 123 |
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 84 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 84 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 84 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 85 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 84 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 84 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 84 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 85 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 89 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 85 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 84 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 85 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 98 |
| org/pircbotx/hooks/events/TimeEvent.java | 98 |
if (this$newNick == null ? other$newNick != null : !this$newNick.equals(other$newNick)) return false;
final java.lang.Object this$userHostmask = this.getUserHostmask();
final java.lang.Object other$userHostmask = other.getUserHostmask();
if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false;
final java.lang.Object this$user = this.getUser();
final java.lang.Object other$user = other.getUser();
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof NickChangeEvent; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 191 |
| org/pircbotx/hooks/events/FingerEvent.java | 101 |
| org/pircbotx/hooks/events/NoticeEvent.java | 183 |
| org/pircbotx/hooks/events/PingEvent.java | 112 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 120 |
| org/pircbotx/hooks/events/UserModeEvent.java | 120 |
| org/pircbotx/hooks/events/VersionEvent.java | 89 |
final ActionEvent other = (ActionEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/IncomingChatRequestEvent.java | 138 |
| org/pircbotx/hooks/events/IncomingFileTransferEvent.java | 188 |
| org/pircbotx/hooks/events/InviteEvent.java | 98 |
final IncomingChatRequestEvent other = (IncomingChatRequestEvent)o; if (!other.canEqual((java.lang.Object)this)) return false; if (!super.equals(o)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$address = this.getAddress(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 161 |
| org/pircbotx/hooks/events/OpEvent.java | 159 |
| org/pircbotx/hooks/events/OwnerEvent.java | 172 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 161 |
| org/pircbotx/hooks/events/UserModeEvent.java | 153 |
| org/pircbotx/hooks/events/VoiceEvent.java | 159 |
result = result * PRIME + ($channel == null ? 43 : $channel.hashCode()); final java.lang.Object $userHostmask = this.getUserHostmask(); result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode()); final java.lang.Object $user = this.getUser(); result = result * PRIME + ($user == null ? 43 : $user.hashCode()); final java.lang.Object $recipientHostmask = this.getRecipientHostmask(); result = result * PRIME + ($recipientHostmask == null ? 43 : $recipientHostmask.hashCode()); final java.lang.Object $recipient = this.getRecipient(); result = result * PRIME + ($recipient == null ? 43 : $recipient.hashCode()); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 120 |
| org/pircbotx/hooks/events/MessageEvent.java | 105 |
if (getChannel() == null) getUserHostmask().send().action(fullLine); else getBot().sendIRC().action(channelSource, fullLine);
}
/**
* Respond with a message to the channel without the prefix
*
* @param response The response to send
*/
public void respondChannel(String response) {
if (getChannel() == null) throw new RuntimeException("Event does not contain a channel");
getBot().sendIRC().message(channelSource, response);
}
/**
* Respond with a PM directly to the user
*
* @param response The response to send
*/
@Override
public void respondPrivateMessage(String response) {
getUser().send().message(response);
}
/**
* Alias of {@link #getTags() }
*/
public ImmutableMap<String, String> getV3Tags() {
return tags;
}
/**
* The raw channel name, could be a special mode message eg +#channel that
* only goes to voiced users.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getChannelSource() {
return this.channelSource;
}
/**
* The action message.
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getAction() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/NoticeEvent.java | 229 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 156 |
result = result * PRIME + ($notice == null ? 43 : $notice.hashCode());
final java.lang.Object $tags = this.getTags();
result = result * PRIME + ($tags == null ? 43 : $tags.hashCode());
return result;
}
/**
* The user hostmask that sent the hostmask.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that sent the notice.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The target channel of the notice. A value of <code>null</code> means that
* the target is us
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/KickEvent.java | 171 |
| org/pircbotx/hooks/events/MessageEvent.java | 215 |
result = result * PRIME + ($reason == null ? 43 : $reason.hashCode());
return result;
}
/**
* The channel from which the recipient was kicked.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the kick.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user who performed the kick.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The unfortunate recipient hostmask of the kick.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() { | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 219 |
| org/pircbotx/hooks/events/FingerEvent.java | 120 |
| org/pircbotx/hooks/events/NoticeEvent.java | 211 |
| org/pircbotx/hooks/events/PingEvent.java | 134 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 142 |
| org/pircbotx/hooks/events/UserModeEvent.java | 145 |
| org/pircbotx/hooks/events/VersionEvent.java | 108 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $channel = this.getChannel(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/IncomingChatRequestEvent.java | 162 |
| org/pircbotx/hooks/events/IncomingFileTransferEvent.java | 219 |
| org/pircbotx/hooks/events/InviteEvent.java | 117 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $userHostmask = this.getUserHostmask();
result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode());
final java.lang.Object $address = this.getAddress(); | |
| File | Line |
|---|---|
| org/pircbotx/dcc/DccHandler.java | 777 |
| org/pircbotx/dcc/DccHandler.java | 886 |
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setReceiverAddress(final InetAddress receiverAddress) {
this.receiverAddress = receiverAddress;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setReceiverPort(final int receiverPort) {
this.receiverPort = receiverPort;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DccHandler.PendingSendFileTransferPassive)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 170 |
| org/pircbotx/hooks/events/MessageEvent.java | 215 |
| org/pircbotx/hooks/events/OpEvent.java | 168 |
| org/pircbotx/hooks/events/OwnerEvent.java | 181 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 170 |
| org/pircbotx/hooks/events/VoiceEvent.java | 168 |
result = result * PRIME + (this.isHalfOp() ? 79 : 97);
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The user hostmask that received the half-op
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getRecipientHostmask() { | |
| File | Line |
|---|---|
| org/pircbotx/dcc/DccHandler.java | 570 |
| org/pircbotx/dcc/DccHandler.java | 657 |
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public long getPosition() {
return this.position;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setPosition(final long position) {
this.position = position;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DccHandler.PendingRecieveFileTransfer)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/Configuration.java | 2246 |
| org/pircbotx/Configuration.java | 2923 |
return "Configuration.Builder(webIrcEnabled=" + this.isWebIrcEnabled() + ", webIrcUsername=" + this.getWebIrcUsername() + ", webIrcHostname=" + this.getWebIrcHostname() + ", webIrcAddress=" + this.getWebIrcAddress() + ", webIrcPassword=" + this.getWebIrcPassword() + ", name=" + this.getName() + ", login=" + this.getLogin() + ", version=" + this.getVersion() + ", finger=" + this.getFinger() + ", realName=" + this.getRealName() + ", channelPrefixes=" + this.getChannelPrefixes() + ", userLevelPrefixes=" + this.getUserLevelPrefixes() + ", snapshotsEnabled=" + this.isSnapshotsEnabled() + ", dccFilenameQuotes=" + this.isDccFilenameQuotes() + ", dccPorts=" + this.getDccPorts() + ", dccLocalAddress=" + this.getDccLocalAddress() + ", dccPublicAddress=" + this.getDccPublicAddress() + ", dccAcceptTimeout=" + this.getDccAcceptTimeout() + ", dccResumeAcceptTimeout=" + this.getDccResumeAcceptTimeout() + ", dccTransferBufferSize=" + this.getDccTransferBufferSize() + ", dccPassiveRequest=" + this.isDccPassiveRequest() + ", servers=" + this.getServers() + ", serverPassword=" + this.getServerPassword() + ", socketFactory=" + this.getSocketFactory() + ", localAddress=" + this.getLocalAddress() + ", encoding=" + this.getEncoding() + ", locale=" + this.getLocale() + ", socketConnectTimeout=" + this.getSocketConnectTimeout() + ", socketTimeout=" + this.getSocketTimeout() + ", maxLineLength=" + this.getMaxLineLength() + ", autoSplitMessage=" + this.isAutoSplitMessage() + ", autoNickChange=" + this.isAutoNickChange() + ", messageDelay=" + this.getMessageDelay() + ", shutdownHookEnabled=" + this.isShutdownHookEnabled() + ", autoJoinChannels=" + this.getAutoJoinChannels() + ", onJoinWhoEnabled=" + this.isOnJoinWhoEnabled() + ", identServerEnabled=" + this.isIdentServerEnabled() + ", nickservPassword=" + this.getNickservPassword() + ", nickservOnSuccess=" + this.getNickservOnSuccess() + ", nickservNick=" + this.getNickservNick() + ", nickservCustomMessage=" + this.getNickservCustomMessage() + ", nickservDelayJoin=" + this.isNickservDelayJoin() + ", userModeHideRealHost=" + this.isUserModeHideRealHost() + ", autoReconnect=" + this.isAutoReconnect() + ", autoReconnectDelay=" + this.getAutoReconnectDelay() + ", autoReconnectAttempts=" + this.getAutoReconnectAttempts() + ", listenerManager=" + this.getListenerManager() + ", capEnabled=" + this.isCapEnabled() + ", capHandlers=" + this.getCapHandlers() + ", channelModeHandlers=" + this.getChannelModeHandlers() + ", botFactory=" + this.getBotFactory() + ")"; | |
| File | Line |
|---|---|
| org/pircbotx/dcc/DccHandler.java | 677 |
| org/pircbotx/dcc/DccHandler.java | 797 |
final PendingSendFileTransfer other = (PendingSendFileTransfer)o; if (!other.canEqual((java.lang.Object)this)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$filename = this.getFilename(); final java.lang.Object other$filename = other.getFilename(); if (this$filename == null ? other$filename != null : !this$filename.equals(other$filename)) return false; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 237 |
| org/pircbotx/hooks/events/NoticeEvent.java | 229 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 156 |
result = result * PRIME + ($action == null ? 43 : $action.hashCode());
final java.lang.Object $tags = this.getTags();
result = result * PRIME + ($tags == null ? 43 : $tags.hashCode());
return result;
}
/**
* The user hostmask that sent the action.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that sent the action.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The channel that the action message was sent in. A value of
* <code>null</code> means that this is a private message, not a channel
*/
@Override
@Nullable | |
| File | Line |
|---|---|
| org/pircbotx/dcc/DccHandler.java | 808 |
| org/pircbotx/dcc/DccHandler.java | 913 |
if (this.getStartPosition() != other.getStartPosition()) return false;
final java.lang.Object this$receiverAddress = this.getReceiverAddress();
final java.lang.Object other$receiverAddress = other.getReceiverAddress();
if (this$receiverAddress == null ? other$receiverAddress != null : !this$receiverAddress.equals(other$receiverAddress)) return false;
if (this.getReceiverPort() != other.getReceiverPort()) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DccHandler.PendingSendFileTransferPassive; | |
| File | Line |
|---|---|
| org/pircbotx/dcc/DccHandler.java | 694 |
| org/pircbotx/dcc/DccHandler.java | 820 |
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $user = this.getUser();
result = result * PRIME + ($user == null ? 43 : $user.hashCode());
final java.lang.Object $filename = this.getFilename();
result = result * PRIME + ($filename == null ? 43 : $filename.hashCode()); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/IncomingChatRequestEvent.java | 150 |
| org/pircbotx/hooks/events/IncomingFileTransferEvent.java | 207 |
if (this.getPort() != other.getPort()) return false;
final java.lang.Object this$token = this.getToken();
final java.lang.Object other$token = other.getToken();
if (this$token == null ? other$token != null : !this$token.equals(other$token)) return false;
if (this.isPassive() != other.isPassive()) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof IncomingChatRequestEvent; | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/NoticeEvent.java | 231 |
| org/pircbotx/hooks/events/PingEvent.java | 150 |
result = result * PRIME + ($tags == null ? 43 : $tags.hashCode());
return result;
}
/**
* The user hostmask that sent the hostmask.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that sent the notice.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
/**
* The target channel of the notice. A value of <code>null</code> means that
* the target is us
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 149 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 126 |
| org/pircbotx/hooks/events/TimeEvent.java | 126 |
result = result * PRIME + ($hostmask == null ? 43 : $hostmask.hashCode());
return result;
}
/**
* The channel in which the mode change took place.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user that performed the mode change.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user that performed the mode change.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/HalfOpEvent.java | 159 |
| org/pircbotx/hooks/events/KickEvent.java | 159 |
| org/pircbotx/hooks/events/ModeEvent.java | 155 |
| org/pircbotx/hooks/events/OpEvent.java | 157 |
| org/pircbotx/hooks/events/OwnerEvent.java | 170 |
| org/pircbotx/hooks/events/PartEvent.java | 170 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 141 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 124 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 136 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 126 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 159 |
| org/pircbotx/hooks/events/VoiceEvent.java | 157 |
result = result * PRIME + super.hashCode(); final java.lang.Object $channel = this.getChannel(); result = result * PRIME + ($channel == null ? 43 : $channel.hashCode()); final java.lang.Object $userHostmask = this.getUserHostmask(); result = result * PRIME + ($userHostmask == null ? 43 : $userHostmask.hashCode()); final java.lang.Object $user = this.getUser(); result = result * PRIME + ($user == null ? 43 : $user.hashCode()); final java.lang.Object $recipientHostmask = this.getRecipientHostmask(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/KickEvent.java | 171 |
| org/pircbotx/hooks/events/MessageEvent.java | 215 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 149 |
| org/pircbotx/hooks/events/SetTopicProtectionEvent.java | 126 |
| org/pircbotx/hooks/events/TimeEvent.java | 126 |
result = result * PRIME + ($reason == null ? 43 : $reason.hashCode());
return result;
}
/**
* The channel from which the recipient was kicked.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
/**
* The user hostmask that performed the kick.
*/
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
/**
* The user who performed the kick.
*/
@Override
@Nullable
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
} | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 193 |
| org/pircbotx/hooks/events/FingerEvent.java | 103 |
| org/pircbotx/hooks/events/HalfOpEvent.java | 130 |
| org/pircbotx/hooks/events/KickEvent.java | 128 |
| org/pircbotx/hooks/events/MessageEvent.java | 175 |
| org/pircbotx/hooks/events/ModeEvent.java | 127 |
| org/pircbotx/hooks/events/NoticeEvent.java | 185 |
| org/pircbotx/hooks/events/OpEvent.java | 128 |
| org/pircbotx/hooks/events/OwnerEvent.java | 141 |
| org/pircbotx/hooks/events/PartEvent.java | 140 |
| org/pircbotx/hooks/events/PingEvent.java | 114 |
| org/pircbotx/hooks/events/PrivateMessageEvent.java | 122 |
| org/pircbotx/hooks/events/QuitEvent.java | 116 |
| org/pircbotx/hooks/events/RemoveChannelBanEvent.java | 116 |
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 99 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 111 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 101 |
| org/pircbotx/hooks/events/SuperOpEvent.java | 130 |
| org/pircbotx/hooks/events/UserModeEvent.java | 122 |
| org/pircbotx/hooks/events/VersionEvent.java | 91 |
| org/pircbotx/hooks/events/VoiceEvent.java | 128 |
if (!super.equals(o)) return false; final java.lang.Object this$userHostmask = this.getUserHostmask(); final java.lang.Object other$userHostmask = other.getUserHostmask(); if (this$userHostmask == null ? other$userHostmask != null : !this$userHostmask.equals(other$userHostmask)) return false; final java.lang.Object this$user = this.getUser(); final java.lang.Object other$user = other.getUser(); if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/ActionEvent.java | 199 |
| org/pircbotx/hooks/events/MessageEvent.java | 169 |
| org/pircbotx/hooks/events/NoticeEvent.java | 191 |
if (this$user == null ? other$user != null : !this$user.equals(other$user)) return false; final java.lang.Object this$channel = this.getChannel(); final java.lang.Object other$channel = other.getChannel(); if (this$channel == null ? other$channel != null : !this$channel.equals(other$channel)) return false; final java.lang.Object this$channelSource = this.getChannelSource(); final java.lang.Object other$channelSource = other.getChannelSource(); if (this$channelSource == null ? other$channelSource != null : !this$channelSource.equals(other$channelSource)) return false; final java.lang.Object this$action = this.getAction(); | |
| File | Line |
|---|---|
| org/pircbotx/hooks/events/RemoveChannelKeyEvent.java | 132 |
| org/pircbotx/hooks/events/RemoveChannelLimitEvent.java | 112 |
| org/pircbotx/hooks/events/RemoveInviteOnlyEvent.java | 112 |
| org/pircbotx/hooks/events/RemoveModeratedEvent.java | 112 |
| org/pircbotx/hooks/events/RemoveNoExternalMessagesEvent.java | 113 |
| org/pircbotx/hooks/events/RemovePrivateEvent.java | 112 |
| org/pircbotx/hooks/events/RemoveSecretEvent.java | 112 |
| org/pircbotx/hooks/events/RemoveTopicProtectionEvent.java | 112 |
| org/pircbotx/hooks/events/SetChannelBanEvent.java | 144 |
| org/pircbotx/hooks/events/SetChannelKeyEvent.java | 134 |
| org/pircbotx/hooks/events/SetInviteOnlyEvent.java | 113 |
| org/pircbotx/hooks/events/SetModeratedEvent.java | 117 |
| org/pircbotx/hooks/events/SetNoExternalMessagesEvent.java | 113 |
| org/pircbotx/hooks/events/SetPrivateEvent.java | 112 |
| org/pircbotx/hooks/events/SetSecretEvent.java | 113 |
result = result * PRIME + ($key == null ? 43 : $key.hashCode());
return result;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Channel getChannel() {
return this.channel;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UserHostmask getUserHostmask() {
return this.userHostmask;
}
@Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public User getUser() {
return this.user;
}
} | |