public final class MessageInterfaceFactory
extends java.lang.Object
MessageInterface
for annotation processors.Modifier and Type | Class and Description |
---|---|
private static class |
MessageInterfaceFactory.AptMessageInterface
Message interface implementation.
|
private static class |
MessageInterfaceFactory.LoggerInterface |
Modifier and Type | Field and Description |
---|---|
private static java.lang.Object |
LOCK |
private static MessageInterfaceFactory.LoggerInterface |
LOGGER_INTERFACE |
Modifier | Constructor and Description |
---|---|
private |
MessageInterfaceFactory()
Private constructor for factory.
|
Modifier and Type | Method and Description |
---|---|
static MessageInterface |
of(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
javax.lang.model.element.TypeElement interfaceElement)
Creates a message interface from the
TypeElement specified by the interfaceElement parameter. |
private static final java.lang.Object LOCK
private static volatile MessageInterfaceFactory.LoggerInterface LOGGER_INTERFACE
private MessageInterfaceFactory()
public static MessageInterface of(javax.annotation.processing.ProcessingEnvironment processingEnvironment, javax.lang.model.element.TypeElement interfaceElement)
TypeElement
specified by the interfaceElement
parameter.processingEnvironment
- the annotation processing environment.interfaceElement
- the interface element to parse.