Modifier and Type | Method and Description |
---|---|
static MessageInterface |
MessageInterfaceFactory.of(ProcessingEnvironment processingEnv,
TypeElement interfaceElement,
Properties expressionProperties,
boolean addGeneratedAnnotation)
Creates a message interface from the
TypeElement specified by the interfaceElement parameter. |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractGenerator.processTypeElement(TypeElement annotation,
TypeElement element,
MessageInterface messageInterface)
Processes a type element.
|
void |
ReportFileGenerator.processTypeElement(TypeElement annotation,
TypeElement element,
MessageInterface messageInterface) |
Modifier and Type | Method and Description |
---|---|
static ReportWriter |
ReportWriter.of(ReportType reportType,
MessageInterface messageInterface,
BufferedWriter writer)
Creates a new report writer based on the report type.
|
Modifier and Type | Method and Description |
---|---|
MessageInterface |
ClassModel.messageInterface()
Returns the message interface being used.
|
Modifier and Type | Method and Description |
---|---|
static ClassModel |
ClassModelFactory.implementation(ProcessingEnvironment processingEnv,
MessageInterface messageInterface,
boolean useLogging31)
Creates an implementation code model from the message interface.
|
static String |
ClassModelHelper.implementationClassName(MessageInterface messageInterface)
Creates the implementation class name for the message interface.
|
static String |
ClassModelHelper.implementationClassName(MessageInterface messageInterface,
String translationSuffix)
Creates the implementation class name for the message interface.
|
static ClassModel |
ClassModelFactory.translation(ProcessingEnvironment processingEnv,
MessageInterface messageInterface,
String translationSuffix,
Map<MessageMethod,String> translations)
Creates a class model for created translation implementations of the message interface.
|
Modifier and Type | Method and Description |
---|---|
Set<MessageInterface> |
MessageInterface.extendedInterfaces()
A set of qualified interface names this interface extends or an empty set.
|
Modifier and Type | Method and Description |
---|---|
Collection<ValidationMessage> |
IdLengthValidator.validate(MessageInterface messageInterface) |
Collection<ValidationMessage> |
IdRangeValidator.validate(MessageInterface messageInterface) |
Collection<ValidationMessage> |
Validator.validate(MessageInterface messageInterface)
Validates the message interface and returns a collection of validation messages or an empty collection.
|
Collection<ValidationMessage> |
MessageIdValidator.validate(MessageInterface messageInterface,
MessageMethod messageMethod) |
Copyright © 2017. All rights reserved.