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.- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageInterfaceof(ProcessingEnvironment processingEnv, TypeElement interfaceElement, Properties expressionProperties, boolean addGeneratedAnnotation) Creates a message interface from theTypeElementspecified by theinterfaceElementparameter.
-
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.
-