Class KingdomsPlaceholder
java.lang.Object
org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
org.kingdoms.locale.compiler.placeholders.types.KingdomsPlaceholder
- All Implemented Interfaces:
org.kingdoms.locale.compiler.placeholders.Placeholder
public class KingdomsPlaceholder
extends org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NonNull org.kingdoms.locale.placeholders.KingdomsPlaceholderTranslatorFields inherited from class org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
Companion -
Constructor Summary
ConstructorsConstructorDescriptionKingdomsPlaceholder(String originalString, @NotNull String pointer, @NotNull List<org.kingdoms.locale.compiler.placeholders.modifiers.PlaceholderModifier> modifiers, @NonNull org.kingdoms.locale.placeholders.KingdomsPlaceholderTranslator translator, @Nullable org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionData function) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringasString(boolean full) @Nullable org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionData@Nullable Objectrequest(@NotNull PlaceholderProvider provider) @NonNull org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionInvokerrequireFunction(String... possible) toString()Methods inherited from class org.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
equals, error, getCommonString, getModifiers, getOriginalString, getPointer, hashCode, wrapWithDefaultContextProviderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kingdoms.locale.compiler.placeholders.Placeholder
getExpectedModifiers, process
-
Field Details
-
identifier
public final @NonNull org.kingdoms.locale.placeholders.KingdomsPlaceholderTranslator identifier
-
-
Constructor Details
-
KingdomsPlaceholder
public KingdomsPlaceholder(String originalString, @NotNull @NotNull String pointer, @NotNull @NotNull List<org.kingdoms.locale.compiler.placeholders.modifiers.PlaceholderModifier> modifiers, @NonNull org.kingdoms.locale.placeholders.KingdomsPlaceholderTranslator translator, @Nullable org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionData function)
-
-
Method Details
-
getFunction
public @Nullable org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionData getFunction() -
requireFunction
public @NonNull org.kingdoms.locale.compiler.placeholders.functions.PlaceholderFunctionInvoker requireFunction(String... possible) -
request
- Specified by:
requestin interfaceorg.kingdoms.locale.compiler.placeholders.Placeholder- Overrides:
requestin classorg.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
-
asString
-
toString
- Overrides:
toStringin classorg.kingdoms.locale.compiler.placeholders.types.AbstractPlaceholder
-