All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.links.i18n.Messages_$bundle Maven / Gradle / Ivy

The newest version!
package org.jboss.resteasy.links.i18n;

import java.util.Locale;
import java.io.Serializable;
import javax.annotation.processing.Generated;
import java.lang.Object;
import java.lang.String;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageBundleImplementor", date = "2024-11-11T13:56:07-0800")
public class Messages_$bundle implements Messages, Serializable {
    private static final long serialVersionUID = 1L;
    protected Messages_$bundle() {}
    public static final Messages_$bundle INSTANCE = new Messages_$bundle();
    protected Object readResolve() {
        return INSTANCE;
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    protected String cannotGuessCollectionType$str() {
        return "RESTEASY012000: Cannot guess collection type for service discovery";
    }
    @Override
    public final String cannotGuessCollectionType() {
        return String.format(getLoggingLocale(), cannotGuessCollectionType$str());
    }
    protected String cannotGuessResourceType$str() {
        return "RESTEASY012005: Cannot guess resource type for service discovery";
    }
    @Override
    public final String cannotGuessResourceType() {
        return String.format(getLoggingLocale(), cannotGuessResourceType$str());
    }
    protected String cannotGuessType$str() {
        return "RESTEASY012010: Cannot guess type for Response";
    }
    @Override
    public final String cannotGuessType() {
        return String.format(getLoggingLocale(), cannotGuessType$str());
    }
    protected String couldNotInstantiateELProviderClass$str() {
        return "RESTEASY012015: Could not instantiate ELProvider class %s";
    }
    @Override
    public final String couldNotInstantiateELProviderClass(final String className) {
        return String.format(getLoggingLocale(), couldNotInstantiateELProviderClass$str(), className);
    }
    protected String discoveryFailedForMethod$str() {
        return "RESTEASY012020: Discovery failed for method {0}.{1}: {2}";
    }
    @Override
    public final String discoveryFailedForMethod(final String className, final String methodName, final String s) {
        return _formatMessage(discoveryFailedForMethod$str(), className, methodName, s);
    }
    private String _formatMessage(final String format, final Object... args) {
        final java.text.MessageFormat formatter = new java.text.MessageFormat(format, getLoggingLocale());
        return formatter.format(args, new StringBuffer(), new java.text.FieldPosition(0)).toString();
    }
    protected String failedToEvaluateELExpression$str() {
        return "RESTEASY012025: Failed to evaluate EL expression: %s";
    }
    @Override
    public final String failedToEvaluateELExpression(final String expression) {
        return String.format(getLoggingLocale(), failedToEvaluateELExpression$str(), expression);
    }
    protected String failedToFindBeanProperty$str() {
        return "RESTEASY012030: Failed to find bean property %s";
    }
    @Override
    public final String failedToFindBeanProperty(final String property) {
        return String.format(getLoggingLocale(), failedToFindBeanProperty$str(), property);
    }
    protected String failedToInjectLinks$str() {
        return "RESTEASY012035: Failed to inject links in %s";
    }
    @Override
    public final String failedToInjectLinks(final Object entity) {
        return String.format(getLoggingLocale(), failedToInjectLinks$str(), entity);
    }
    protected String failedToInstantiateELProvider$str() {
        return "RESTEASY012040: Failed to instantiate ELProvider: %s";
    }
    @Override
    public final String failedToInstantiateELProvider(final String className) {
        return String.format(getLoggingLocale(), failedToInstantiateELProvider$str(), className);
    }
    protected String failedToReadField$str() {
        return "RESTEASY012045: Failed to read field %s";
    }
    @Override
    public final String failedToReadField(final String field) {
        return String.format(getLoggingLocale(), failedToReadField$str(), field);
    }
    protected String failedToReadProperty$str() {
        return "RESTEASY012050: Failed to read property %s";
    }
    @Override
    public final String failedToReadProperty(final String property) {
        return String.format(getLoggingLocale(), failedToReadProperty$str(), property);
    }
    protected String failedToReadPropertyFromMethod$str() {
        return "RESTEASY012055: Failed to read property from method %s";
    }
    @Override
    public final String failedToReadPropertyFromMethod(final String property) {
        return String.format(getLoggingLocale(), failedToReadPropertyFromMethod$str(), property);
    }
    protected String notEnoughtUriParameters$str() {
        return "RESTEASY012060: Not enough URI parameters: expecting {0} but only found {1}";
    }
    @Override
    public final String notEnoughtUriParameters(final int expected, final int actual) {
        return _formatMessage(notEnoughtUriParameters$str(), expected, actual);
    }
    protected String failedToReuseServiceDiscovery$str() {
        return "RESTEASY012065: Failed to access/reuse user-created service discovery in %s";
    }
    @Override
    public final String failedToReuseServiceDiscovery(final Object entity) {
        return String.format(getLoggingLocale(), failedToReuseServiceDiscovery$str(), entity);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy