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 classMessageMethodBuilder.AptMessageMethodAn implementation for the MessageMethod interface.Fields in org.jboss.logging.processor.apt declared as MessageMethod Modifier and Type Field Description private MessageMethodParameterFactory.MessageMethodParameter. messageMethodprivate MessageMethodThrowableTypeFactory.AptReturnThrowableType. messageMethodprivate MessageMethodReturnTypeFactory.AptReturnType. methodFields in org.jboss.logging.processor.apt with type parameters of type MessageMethod Modifier and Type Field Description private java.util.List<MessageMethod>MessageInterfaceFactory.AptMessageInterface. messageMethodsprivate java.util.Set<MessageMethod>MessageInterfaceFactory.LoggerInterface. messageMethodsMethods 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 declaredMessageMethodmethods in theMessageBundleorMessageLoggerinterface.Methods in org.jboss.logging.processor.apt with parameters of type MessageMethod Modifier and Type Method Description private java.lang.StringTranslationFileGenerator. addIndexesToFormat(MessageMethod method)intReportFileGenerator.MessageMethodSortComparator. compare(MessageMethod o1, MessageMethod o2)intMessageMethodBuilder.AptMessageMethod. compareTo(MessageMethod o)static ParameterParameterFactory. forMessageMethod(MessageMethod messageMethod)static ThrowableTypeThrowableTypeFactory. forReturnType(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror type, MessageMethod messageMethod)Creates a new descriptor that is not primitive.private static FormatValidatorTranslationClassGenerator. getValidatorFor(MessageMethod messageMethod, java.lang.String translationMessage)private booleanTranslationFileGenerator. isMethodWritable(MessageMethod method)static ReturnTypeReturnTypeFactory. 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 voidTranslationFileGenerator. 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 voidTranslationClassGenerator. 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.StringReportWriter. getLogLevel(MessageMethod method)Gets the log level from the@Messageannotation.private ResolutionDocReportWriter. getResolutionDoc(MessageMethod messageMethod)(package private) java.lang.StringReportWriter. getUrl(MessageMethod messageMethod, java.lang.String id)voidAsciidocReportWriter. writeDetail(MessageMethod messageMethod)abstract voidReportWriter. writeDetail(MessageMethod messageMethod)Writes a detail line for the report.voidXmlReportWriter. 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. translationsThe translation map.private java.util.Map<MessageMethod,java.lang.String>MessageLoggerTranslator. translationsThe translation map.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageMethod Modifier and Type Method Description private voidImplementationClassModel. 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.JMethodDefClassModel. addMessageMethod(MessageMethod messageMethod)Adds a method to return the message value.(package private) org.jboss.jdeparser.JMethodDefClassModel. addMessageMethod(MessageMethod messageMethod, java.lang.String messageValue)Adds a method to return the message value.protected voidImplementationClassModel. addThrownTypes(MessageMethod messageMethod, org.jboss.jdeparser.JMethodDef jMethod)(package private) voidImplementationClassModel. createBundleMethod(org.jboss.jdeparser.JClassDef classDef, org.jboss.jdeparser.JCall localeGetter, MessageMethod messageMethod)Create the bundle method body.private voidMessageLoggerImplementor. 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.JExprImplementationClassModel. 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 ClassModelClassModelFactory. 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 MessageMethodPropertyValidator. methodFields 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. usedMessageIdsMethods 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 FormatValidatorFormatValidatorFactory. 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)
-