Modifier and Type | Method | 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 | 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 | 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 | Description |
---|---|---|
MessageInterface |
ClassModel.messageInterface() |
Returns the message interface being used.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
Set<MessageInterface> |
MessageInterface.extendedInterfaces() |
A set of qualified interface names this interface extends or an empty set.
|
Modifier and Type | Method | Description |
---|---|---|
Collection<ValidationMessage> |
IdLengthValidator.validate(MessageInterface messageInterface) |
|
Collection<ValidationMessage> |
IdRangeValidator.validate(MessageInterface messageInterface) |
|
Collection<ValidationMessage> |
MessageIdValidator.validate(MessageInterface messageInterface,
MessageMethod messageMethod) |
|
Collection<ValidationMessage> |
Validator.validate(MessageInterface messageInterface) |
Validates the message interface and returns a collection of validation messages or an empty collection.
|
Copyright © 2018. All rights reserved.