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

org.jboss.logging.generator.intf.model.MessageObject Maven / Gradle / Ivy

There is a newer version: 1.0.0.CR5
Show newest version
package org.jboss.logging.generator.intf.model;

/**
 * A generic interface for returning basic information about parts of a message bundle or message logger interface.
 *
 * @author James R. Perkins
 */
public interface MessageObject {

    /**
     * Returns a name for the object.
     * 

* For an interface or class this will return the qualified class name. For a method this will return the name of * the method. For a parameter the name of the parameter will be returned. * * @return the name of the object. */ String name(); /** * The object used to extract information for the message logger or message bundle, if applicable. The reference is * not used for the implementation and is provided for convenience. *

* For example, in an annotation processor implementation a {@link javax.lang.model.element.ExecutableElement} * might be returned. * * @return the reference object used to extract information. */ Object reference(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy