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 class
Message interface implementation.private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Object
private static MessageInterfaceFactory.LoggerInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection
<ExecutableElement> getMessageMethods
(TypeElement intf) static MessageInterface
of
(ProcessingEnvironment processingEnv, TypeElement interfaceElement, Properties expressionProperties, boolean addGeneratedAnnotation) Creates a message interface from theTypeElement
specified by theinterfaceElement
parameter.
-
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 theTypeElement
specified by theinterfaceElement
parameter.- 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
-