com.cryptomorin.xseries.reflection.jvm.classes.PackageHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of XSeries Show documentation
Show all versions of XSeries Show documentation
A set of utilities for Minecraft plugins
package com.cryptomorin.xseries.reflection.jvm.classes;
import org.intellij.lang.annotations.Language;
import org.jetbrains.annotations.ApiStatus;
import javax.annotation.Nonnull;
/**
* A handle that can provide base package names or translate names based on current mappings.
*/
public interface PackageHandle {
@Language("RegExp")
@ApiStatus.Internal
String JAVA_PACKAGE_PATTERN = "(\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*\\.)*\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*";
@Language("RegExp")
@ApiStatus.Internal
String JAVA_IDENTIFIER_PATTERN = "\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*";
@Nonnull
String packageId();
@Nonnull
String getBasePackageName();
@Nonnull
String getPackage(@Nonnull String packageName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy