Uses of Interface
org.jboss.logging.processor.model.MessageMethod
Packages that use MessageMethod
Package
Description
-
Uses of MessageMethod in org.jboss.logging.processor.apt
Classes in org.jboss.logging.processor.apt that implement MessageMethodModifier and TypeClassDescriptionprivate static class
An implementation for the MessageMethod interface.Fields in org.jboss.logging.processor.apt declared as MessageMethodModifier and TypeFieldDescriptionprivate final MessageMethod
ParameterFactory.MessageMethodParameter.messageMethod
private final MessageMethod
ThrowableTypeFactory.AptReturnThrowableType.messageMethod
private final MessageMethod
ReturnTypeFactory.AptReturnType.method
Fields in org.jboss.logging.processor.apt with type parameters of type MessageMethodModifier and TypeFieldDescriptionprivate final List
<MessageMethod> MessageInterfaceFactory.AptMessageInterface.messageMethods
private final Set
<MessageMethod> MessageInterfaceFactory.LoggerInterface.messageMethods
Methods in org.jboss.logging.processor.apt that return types with arguments of type MessageMethodModifier and TypeMethodDescriptionprivate Map
<File, Map<MessageMethod, String>> TranslationClassGenerator.allInterfaceTranslations
(MessageInterface messageInterface, List<File> files) (package private) Set
<MessageMethod> MessageMethodBuilder.build()
private static Collection
<MessageMethod> ReportFileGenerator.getSortedMessageMethods
(MessageInterface messageInterface) Returns a sorted collection of the message methods on the interface.MessageInterfaceFactory.AptMessageInterface.methods()
MessageInterfaceFactory.LoggerInterface.methods()
private Map
<MessageMethod, String> TranslationClassGenerator.validateTranslationMessages
(MessageInterface messageInterface, 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 MessageMethodModifier and TypeMethodDescriptionprivate 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
(ProcessingEnvironment processingEnv, TypeMirror type, MessageMethod messageMethod) Creates a new descriptor that is not primitive.private static FormatValidator
TranslationClassGenerator.getValidatorFor
(MessageMethod messageMethod, String translationMessage) private boolean
TranslationFileGenerator.isMethodWritable
(MessageMethod method) static ReturnType
ReturnTypeFactory.of
(ProcessingEnvironment processingEnv, TypeMirror returnType, MessageMethod method) TranslationFileGenerator.parseParameterComments
(MessageMethod messageMethod) private void
TranslationFileGenerator.writeSkeletonMessageMethod
(BufferedWriter writer, MessageMethod messageMethod) Method parameters in org.jboss.logging.processor.apt with type arguments of type MessageMethodModifier and TypeMethodDescriptionprivate void
TranslationClassGenerator.generateSourceFileFor
(MessageInterface messageInterface, File translationFile, Map<MessageMethod, String> translations) Generate a class for the given translation file.Constructors in org.jboss.logging.processor.apt with parameters of type MessageMethodModifierConstructorDescriptionprivate
AptReturnThrowableType
(ProcessingEnvironment processingEnv, MessageMethod messageMethod, TypeMirror type) Creates a new descriptor that is not primitive.(package private)
AptReturnType
(ProcessingEnvironment processingEnv, TypeMirror returnType, MessageMethod method) private
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 MessageMethodModifier and TypeMethodDescription(package private) String
ReportWriter.getLogLevel
(MessageMethod method) Gets the log level from the@Message
annotation.private ResolutionDoc
ReportWriter.getResolutionDoc
(MessageMethod messageMethod) (package private) String
ReportWriter.getUrl
(MessageMethod messageMethod, 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 MessageMethodModifier and TypeFieldDescriptionprivate final Map
<MessageMethod, String> MessageBundleTranslator.translations
The translation map.private final Map
<MessageMethod, String> MessageLoggerTranslator.translations
The translation map.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageMethodModifier and TypeMethodDescriptionprivate void
ImplementationClassModel.addDefultProperties
(MessageMethod messageMethod, Collection<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, String messageValue) Adds a method to return the message value.protected final 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.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, Map<String, org.jboss.jdeparser.JParamDeclaration> fields, Map<String, org.jboss.jdeparser.JParamDeclaration> properties) Method parameters in org.jboss.logging.processor.generator.model with type arguments of type MessageMethodModifier and TypeMethodDescriptionstatic ClassModel
ClassModelFactory.translation
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String translationSuffix, Map<MessageMethod, 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 MessageMethodModifierConstructorDescriptionMessageBundleTranslator
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String className, String superClassName, String locale, Map<MessageMethod, String> translations) Create a MessageBundle with super class and interface.MessageLoggerTranslator
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String className, String superClassName, String locale, Map<MessageMethod, 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 MessageMethodModifier and TypeMethodDescriptionMessageInterface.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 MessageMethodFields in org.jboss.logging.processor.validation with type parameters of type MessageMethodModifier and TypeFieldDescriptionprivate final Map
<MessageIdValidator.MessageKey, MessageMethod> MessageIdValidator.usedMessageIds
Methods in org.jboss.logging.processor.validation that return types with arguments of type MessageMethodModifier and TypeMethodDescriptionprivate 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 MessageMethodModifier and TypeMethodDescriptionstatic FormatValidator
FormatValidatorFactory.create
(MessageMethod messageMethod) MessageIdValidator.validate
(MessageInterface messageInterface, MessageMethod messageMethod) (package private) static Collection
<ValidationMessage> PropertyValidator.validate
(ProcessingEnvironment processingEnv, MessageMethod messageMethod) Validates the message method property annotations.private Collection
<ValidationMessage> Validator.validateBundleMethod
(MessageMethod messageMethod) private Collection
<ValidationMessage> Validator.validateLoggerMethod
(MessageMethod messageMethod) private Collection
<ValidationMessage> Validator.validateParameters
(MessageMethod messageMethod) Method parameters in org.jboss.logging.processor.validation with type arguments of type MessageMethodModifier and TypeMethodDescriptionprivate Collection
<ValidationMessage> Validator.validateBundle
(Set<MessageMethod> messageMethods) Validate message bundle messageMethods.private Collection
<ValidationMessage> Validator.validateCommon
(MessageInterface messageInterface, Set<MessageMethod> messageMethods) Validate common attributes to all interfaces.private Collection
<ValidationMessage> Validator.validateLogger
(Set<MessageMethod> messageMethods) Validate message logger messageMethods.Constructors in org.jboss.logging.processor.validation with parameters of type MessageMethodModifierConstructorDescriptionprivate
PropertyValidator
(ProcessingEnvironment processingEnv, MessageMethod method, TypeMirror resultType, Collection<ValidationMessage> messages)