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 classAn implementation for the MessageMethod interface.Fields in org.jboss.logging.processor.apt declared as MessageMethodModifier and TypeFieldDescriptionprivate final MessageMethodParameterFactory.MessageMethodParameter.messageMethodprivate final MessageMethodThrowableTypeFactory.AptReturnThrowableType.messageMethodprivate final MessageMethodReturnTypeFactory.AptReturnType.methodFields in org.jboss.logging.processor.apt with type parameters of type MessageMethodModifier and TypeFieldDescriptionprivate final List<MessageMethod> MessageInterfaceFactory.AptMessageInterface.messageMethodsprivate final Set<MessageMethod> MessageInterfaceFactory.LoggerInterface.messageMethodsMethods 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 declaredMessageMethodmethods in theMessageBundleorMessageLoggerinterface.Methods in org.jboss.logging.processor.apt with parameters of type MessageMethodModifier and TypeMethodDescriptionprivate StringTranslationFileGenerator.addIndexesToFormat(MessageMethod method) intReportFileGenerator.MessageMethodSortComparator.compare(MessageMethod o1, MessageMethod o2) intMessageMethodBuilder.AptMessageMethod.compareTo(MessageMethod o) static ParameterParameterFactory.forMessageMethod(MessageMethod messageMethod) static ThrowableTypeThrowableTypeFactory.forReturnType(ProcessingEnvironment processingEnv, TypeMirror type, MessageMethod messageMethod) Creates a new descriptor that is not primitive.private static FormatValidatorTranslationClassGenerator.getValidatorFor(MessageMethod messageMethod, String translationMessage) private booleanTranslationFileGenerator.isMethodWritable(MessageMethod method) static ReturnTypeReturnTypeFactory.of(ProcessingEnvironment processingEnv, TypeMirror returnType, MessageMethod method) TranslationFileGenerator.parseParameterComments(MessageMethod messageMethod) private voidTranslationFileGenerator.writeSkeletonMessageMethod(BufferedWriter writer, MessageMethod messageMethod) Method parameters in org.jboss.logging.processor.apt with type arguments of type MessageMethodModifier and TypeMethodDescriptionprivate voidTranslationClassGenerator.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 MessageMethodModifierConstructorDescriptionprivateAptReturnThrowableType(ProcessingEnvironment processingEnv, MessageMethod messageMethod, TypeMirror type) Creates a new descriptor that is not primitive.(package private)AptReturnType(ProcessingEnvironment processingEnv, TypeMirror returnType, MessageMethod method) privateMessageMethodParameter(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) StringReportWriter.getLogLevel(MessageMethod method) Gets the log level from the@Messageannotation.private ResolutionDocReportWriter.getResolutionDoc(MessageMethod messageMethod) (package private) StringReportWriter.getUrl(MessageMethod messageMethod, 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 MessageMethodModifier and TypeFieldDescriptionprivate final Map<MessageMethod, String> MessageBundleTranslator.translationsThe translation map.private final Map<MessageMethod, String> MessageLoggerTranslator.translationsThe translation map.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageMethodModifier and TypeMethodDescriptionprivate voidImplementationClassModel.addDefultProperties(MessageMethod messageMethod, Collection<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, String messageValue) Adds a method to return the message value.protected final 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.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, 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 ClassModelClassModelFactory.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.usedMessageIdsMethods 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 FormatValidatorFormatValidatorFactory.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 MessageMethodModifierConstructorDescriptionprivatePropertyValidator(ProcessingEnvironment processingEnv, MessageMethod method, TypeMirror resultType, Collection<ValidationMessage> messages)