Package org.jboss.logging.processor.apt
Class MessageInterfaceFactory
java.lang.Object
org.jboss.logging.processor.apt.MessageInterfaceFactory
A factory to create a
MessageInterface for annotation processors.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classMessage interface implementation.private static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Objectprivate static MessageInterfaceFactory.LoggerInterface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection<ExecutableElement> getMessageMethods(TypeElement intf) static MessageInterfaceof(ProcessingEnvironment processingEnv, TypeElement interfaceElement, Properties expressionProperties, boolean addGeneratedAnnotation) Creates a message interface from theTypeElementspecified by theinterfaceElementparameter.
-
Field Details
-
LOCK
-
LOGGER_INTERFACE
-
-
Constructor Details
-
MessageInterfaceFactory
private MessageInterfaceFactory()Private constructor for factory.
-
-
Method Details
-
of
public static MessageInterface of(ProcessingEnvironment processingEnv, TypeElement interfaceElement, Properties expressionProperties, boolean addGeneratedAnnotation) Creates a message interface from theTypeElementspecified by theinterfaceElementparameter.- Parameters:
processingEnv- the annotation processing environment.interfaceElement- the interface element to parse.expressionProperties- the properties used to resolve expressions- Returns:
- a message interface for the interface element.
-
getMessageMethods
-