View kotlin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="InspectionProjectProfileManager"> | |
<profile version="1.0"> | |
<option name="myName" value="Kotlin Inspection Pack" /> | |
<inspection_tool class="AddOperatorModifier" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> | |
<inspection_tool class="AddVarianceModifier" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> | |
<inspection_tool class="ConvertLambdaToReference" enabled="true" level="WARNING" enabled_by_default="true" /> | |
<inspection_tool class="ConvertPairConstructorToToFunction" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> | |
<inspection_tool class="Destructure" enabled="true" level="SERVER PROBLEM" enabled_by_default="true" /> | |
<inspection_tool class="FromClosedRangeMigration" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> | |
<inspection_tool class="ImplicitThis" enabled="true" level="SERVER PROBLEM" enabled_by_default="true" /> |
View Arrays.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jetbrains.exposed.sql.Column | |
import org.jetbrains.exposed.sql.ColumnType | |
import org.jetbrains.exposed.sql.CustomStringFunction | |
import org.jetbrains.exposed.sql.EqOp | |
import org.jetbrains.exposed.sql.Expression | |
import org.jetbrains.exposed.sql.ExpressionWithColumnType | |
import org.jetbrains.exposed.sql.Table | |
import org.jetbrains.exposed.sql.statements.api.PreparedStatementApi | |
import org.jetbrains.exposed.sql.statements.jdbc.JdbcPreparedStatementImpl | |
import org.jetbrains.exposed.sql.stringLiteral |
View Info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Info { | |
public static final String VERSION = "@VERSION@"; | |
} |
View GoogleFuture.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.schlaubi.util | |
import com.google.api.core.ApiFuture | |
import com.google.common.util.concurrent.MoreExecutors | |
import kotlinx.coroutines.CancellableContinuation | |
import kotlinx.coroutines.suspendCancellableCoroutine | |
import java.util.concurrent.ExecutionException | |
import kotlin.coroutines.resume | |
import kotlin.coroutines.resumeWithException |
View why_its_better.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alt | |
void onCommand(CommandSender sender) { | |
if (sender instanceof Player) { | |
Player player = (Player) sender; | |
} | |
} | |
// neu | |
void onCommand(CommandSender sender) { | |
if (sender instanceof Player player) { |
View jda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net.dv8tion.jda.annotations | |
net.dv8tion.jda.api | |
net.dv8tion.jda.api.audio | |
net.dv8tion.jda.api.audio.factory | |
net.dv8tion.jda.api.audio.hooks | |
net.dv8tion.jda.api.audit | |
net.dv8tion.jda.api.entities | |
net.dv8tion.jda.api.events | |
net.dv8tion.jda.api.events.channel.category | |
net.dv8tion.jda.api.events.channel.category.update |
View main.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
print("hi"); | |
} |
View dsa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdadsa |
View package-list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.bukkit | |
org.bukkit.advancement | |
org.bukkit.attribute | |
org.bukkit.block | |
org.bukkit.block.banner | |
org.bukkit.block.data | |
org.bukkit.block.data.type | |
org.bukkit.block.structure | |
org.bukkit.boss | |
org.bukkit.command |
View DateUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.Duration; | |
import java.time.LocalDateTime; | |
import java.time.temporal.ChronoUnit; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.regex.MatchResult; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import org.jetbrains.annotations.NotNull; |
NewerOlder