Uses of Interface
org.jboss.logging.processor.model.MessageMethod
-
-
Uses of MessageMethod in org.jboss.logging.processor.apt
Classes in org.jboss.logging.processor.apt that implement MessageMethod Modifier and Type Class Description private static class
MessageMethodBuilder.AptMessageMethod
An implementation for the MessageMethod interface.Fields in org.jboss.logging.processor.apt declared as MessageMethod Modifier and Type Field Description private MessageMethod
ParameterFactory.MessageMethodParameter. messageMethod
private MessageMethod
ThrowableTypeFactory.AptReturnThrowableType. messageMethod
private MessageMethod
ReturnTypeFactory.AptReturnType. method
Fields in org.jboss.logging.processor.apt with type parameters of type MessageMethod Modifier and Type Field Description private java.util.List<MessageMethod>
MessageInterfaceFactory.AptMessageInterface. messageMethods
private java.util.Set<MessageMethod>
MessageInterfaceFactory.LoggerInterface. messageMethods
Methods in org.jboss.logging.processor.apt that return types with arguments of type MessageMethod Modifier and Type Method Description private java.util.Map<java.io.File,java.util.Map<MessageMethod,java.lang.String>>
TranslationClassGenerator. allInterfaceTranslations(MessageInterface messageInterface, java.util.List<java.io.File> files)
(package private) java.util.Set<MessageMethod>
MessageMethodBuilder. build()
private static java.util.Collection<MessageMethod>
ReportFileGenerator. getSortedMessageMethods(MessageInterface messageInterface)
Returns a sorted collection of the message methods on the interface.java.util.Collection<MessageMethod>
MessageInterfaceFactory.AptMessageInterface. methods()
java.util.Collection<MessageMethod>
MessageInterfaceFactory.LoggerInterface. methods()
private java.util.Map<MessageMethod,java.lang.String>
TranslationClassGenerator. validateTranslationMessages(MessageInterface messageInterface, java.io.File file)
Returns only the valid translations message corresponding to the declaredMessageMethod
methods in theMessageBundle
orMessageLogger
interface.Methods in org.jboss.logging.processor.apt with parameters of type MessageMethod Modifier and Type Method Description private java.lang.String
TranslationFileGenerator. addIndexesToFormat(MessageMethod method)
int
ReportFileGenerator.MessageMethodSortComparator. compare(MessageMethod o1, MessageMethod o2)
int
MessageMethodBuilder.AptMessageMethod. compareTo(MessageMethod o)
static Parameter
ParameterFactory. forMessageMethod(MessageMethod messageMethod)
static ThrowableType
ThrowableTypeFactory. forReturnType(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror type, MessageMethod messageMethod)
Creates a new descriptor that is not primitive.private static FormatValidator
TranslationClassGenerator. getValidatorFor(MessageMethod messageMethod, java.lang.String translationMessage)
private boolean
TranslationFileGenerator. isMethodWritable(MessageMethod method)
static ReturnType
ReturnTypeFactory. of(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror returnType, MessageMethod method)
private java.util.Map<java.lang.String,java.lang.String>
TranslationFileGenerator. parseParameterComments(MessageMethod messageMethod)
private void
TranslationFileGenerator. writeSkeletonMessageMethod(java.io.BufferedWriter writer, MessageMethod messageMethod)
Method parameters in org.jboss.logging.processor.apt with type arguments of type MessageMethod Modifier and Type Method Description private void
TranslationClassGenerator. generateSourceFileFor(MessageInterface messageInterface, java.io.File translationFile, java.util.Map<MessageMethod,java.lang.String> translations)
Generate a class for the given translation file.Constructors in org.jboss.logging.processor.apt with parameters of type MessageMethod Constructor Description AptReturnThrowableType(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageMethod messageMethod, javax.lang.model.type.TypeMirror type)
Creates a new descriptor that is not primitive.AptReturnType(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror returnType, MessageMethod method)
MessageMethodParameter(MessageMethod messageMethod)
-
Uses of MessageMethod in org.jboss.logging.processor.apt.report
Methods in org.jboss.logging.processor.apt.report with parameters of type MessageMethod Modifier and Type Method Description (package private) java.lang.String
ReportWriter. getLogLevel(MessageMethod method)
Gets the log level from the@Message
annotation.private ResolutionDoc
ReportWriter. getResolutionDoc(MessageMethod messageMethod)
(package private) java.lang.String
ReportWriter. getUrl(MessageMethod messageMethod, java.lang.String id)
void
AsciidocReportWriter. writeDetail(MessageMethod messageMethod)
abstract void
ReportWriter. writeDetail(MessageMethod messageMethod)
Writes a detail line for the report.void
XmlReportWriter. writeDetail(MessageMethod messageMethod)
-
Uses of MessageMethod in org.jboss.logging.processor.generator.model
Fields in org.jboss.logging.processor.generator.model with type parameters of type MessageMethod Modifier and Type Field Description private java.util.Map<MessageMethod,java.lang.String>
MessageBundleTranslator. translations
The translation map.private java.util.Map<MessageMethod,java.lang.String>
MessageLoggerTranslator. translations
The translation map.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageMethod Modifier and Type Method Description private void
ImplementationClassModel. addDefultProperties(MessageMethod messageMethod, java.util.Collection<javax.lang.model.element.AnnotationMirror> annotations, org.jboss.jdeparser.JBlock body, org.jboss.jdeparser.JAssignableExpr resultField, boolean field)
(package private) org.jboss.jdeparser.JMethodDef
ClassModel. addMessageMethod(MessageMethod messageMethod)
Adds a method to return the message value.(package private) org.jboss.jdeparser.JMethodDef
ClassModel. addMessageMethod(MessageMethod messageMethod, java.lang.String messageValue)
Adds a method to return the message value.protected void
ImplementationClassModel. addThrownTypes(MessageMethod messageMethod, org.jboss.jdeparser.JMethodDef jMethod)
(package private) void
ImplementationClassModel. createBundleMethod(org.jboss.jdeparser.JClassDef classDef, org.jboss.jdeparser.JCall localeGetter, MessageMethod messageMethod)
Create the bundle method body.private void
MessageLoggerImplementor. createLoggerMethod(MessageMethod messageMethod, org.jboss.jdeparser.JClassDef classDef, org.jboss.jdeparser.JAssignableExpr logger)
Create the logger method body.private java.util.Map<Parameter,org.jboss.jdeparser.JParamDeclaration>
MessageLoggerImplementor. createParameters(MessageMethod messageMethod, org.jboss.jdeparser.JMethodDef method)
private org.jboss.jdeparser.JExpr
ImplementationClassModel. createReturnType(org.jboss.jdeparser.JClassDef classDef, MessageMethod messageMethod, org.jboss.jdeparser.JBlock body, org.jboss.jdeparser.JCall format, java.util.Map<java.lang.String,org.jboss.jdeparser.JParamDeclaration> fields, java.util.Map<java.lang.String,org.jboss.jdeparser.JParamDeclaration> properties)
Method parameters in org.jboss.logging.processor.generator.model with type arguments of type MessageMethod Modifier and Type Method Description static ClassModel
ClassModelFactory. translation(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String translationSuffix, java.util.Map<MessageMethod,java.lang.String> translations)
Creates a class model for created translation implementations of the message interface.Constructor parameters in org.jboss.logging.processor.generator.model with type arguments of type MessageMethod Constructor Description MessageBundleTranslator(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String className, java.lang.String superClassName, java.lang.String locale, java.util.Map<MessageMethod,java.lang.String> translations)
Create a MessageBundle with super class and interface.MessageLoggerTranslator(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String className, java.lang.String superClassName, java.lang.String locale, java.util.Map<MessageMethod,java.lang.String> translations)
Create a MessageLogger with super class and interface. -
Uses of MessageMethod in org.jboss.logging.processor.model
Methods in org.jboss.logging.processor.model that return types with arguments of type MessageMethod Modifier and Type Method Description java.util.Collection<MessageMethod>
MessageInterface. methods()
A collection of all the methods this interface needs to implement. -
Uses of MessageMethod in org.jboss.logging.processor.validation
Fields in org.jboss.logging.processor.validation declared as MessageMethod Modifier and Type Field Description private MessageMethod
PropertyValidator. method
Fields in org.jboss.logging.processor.validation with type parameters of type MessageMethod Modifier and Type Field Description private java.util.Map<MessageIdValidator.MessageKey,MessageMethod>
MessageIdValidator. usedMessageIds
Methods in org.jboss.logging.processor.validation that return types with arguments of type MessageMethod Modifier and Type Method Description private java.util.Set<MessageMethod>
Validator. getAllMethods(MessageInterface messageInterface)
Finds all methods for the given interface, but ignores logger interface methods.Methods in org.jboss.logging.processor.validation with parameters of type MessageMethod Modifier and Type Method Description static FormatValidator
FormatValidatorFactory. create(MessageMethod messageMethod)
java.util.Collection<ValidationMessage>
MessageIdValidator. validate(MessageInterface messageInterface, MessageMethod messageMethod)
(package private) static java.util.Collection<ValidationMessage>
PropertyValidator. validate(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageMethod messageMethod)
Validates the message method property annotations.private java.util.Collection<ValidationMessage>
Validator. validateBundleMethod(MessageMethod messageMethod)
private java.util.Collection<ValidationMessage>
Validator. validateLoggerMethod(MessageMethod messageMethod)
private java.util.Collection<ValidationMessage>
Validator. validateParameters(MessageMethod messageMethod)
Method parameters in org.jboss.logging.processor.validation with type arguments of type MessageMethod Modifier and Type Method Description private java.util.Collection<ValidationMessage>
Validator. validateBundle(java.util.Set<MessageMethod> messageMethods)
Validate message bundle messageMethods.private java.util.Collection<ValidationMessage>
Validator. validateCommon(MessageInterface messageInterface, java.util.Set<MessageMethod> messageMethods)
Validate common attributes to all interfaces.private java.util.Collection<ValidationMessage>
Validator. validateLogger(java.util.Set<MessageMethod> messageMethods)
Validate message logger messageMethods.Constructors in org.jboss.logging.processor.validation with parameters of type MessageMethod Constructor Description PropertyValidator(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageMethod method, javax.lang.model.type.TypeMirror resultType, java.util.Collection<ValidationMessage> messages)
-