|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.processor.generator.model.ClassModelHelper
public final class ClassModelHelper
Utilities for the code model.
| Method Summary | |
|---|---|
static String |
formatMessageId(String projectCode,
int messageId)
Formats message id. |
static String |
implementationClassName(MessageInterface messageInterface)
Creates the implementation class name for the message interface. |
static String |
implementationClassName(MessageInterface messageInterface,
String translationSuffix)
Creates the implementation class name for the message interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String formatMessageId(String projectCode,
int messageId)
projectCode - the project code for the messagemessageId - the message id to format
public static String implementationClassName(MessageInterface messageInterface)
throws IllegalArgumentException
messageInterface - the message interface to generate the implementation name for.
IllegalArgumentException - if the message interface is not a message bundle or a message logger.
public static String implementationClassName(MessageInterface messageInterface,
String translationSuffix)
throws IllegalArgumentException
messageInterface - the message interface to generate the implementation name for.translationSuffix - the local suffix for the translation.
IllegalArgumentException - if the message interface is not a message bundle or a message logger.
|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||