Select Git revision
build.gradle
ragconnect.mustache 13.68 KiB
{{> handler}}
aspect RagConnect {
{{#allEndpointDefinitionList}}
{{#Send}}
{{> sendDefinition}}
{{/Send}}
{{^Send}}
{{> receiveDefinition}}
{{/Send}}
{{/allEndpointDefinitionList}}
class RagConnectRejectMappingException extends RuntimeException {}
private static void ASTNode.reject() {
throw new RagConnectRejectMappingException();
}
{{#allMappingDefinitions}}
{{#isUsed}}
{{> mappingDefinition}}
{{/isUsed}}
{{/allMappingDefinitions}}
{{#allDependencyDefinitionList}}
{{> dependencyDefinition}}
{{/allDependencyDefinitionList}}
{{#tokenComponentsThatNeedProxy}}
{{> tokenComponent}}
{{/tokenComponentsThatNeedProxy}}
{{#typeDeclsOfContextFreeEndpointTargets}}
{{> typeDecl}}
{{/typeDeclsOfContextFreeEndpointTargets}}
{{! --- touchedTerminals ---}}
{{#allTypeDecls}}
{{Name}} {{Name}}.{{touchedTerminalsMethodName}}() {
{{#tokenComponents}}
get{{Name}}();
{{/tokenComponents}}
{{#normalComponents}}
get{{Name}}().{{touchedTerminalsMethodName}}();
{{/normalComponents}}
{{#listComponents}}
for ({{#TypeDecl}}{{Name}}{{/TypeDecl}} element : get{{Name}}List()) {
element.{{touchedTerminalsMethodName}}();
}
{{/listComponents}}
return this;
}
{{/allTypeDecls}}
ASTNode ASTNode.{{touchedTerminalsMethodName}}() {
return this;
}
{{configJastAddList}}<T> {{configJastAddList}}.{{touchedTerminalsMethodName}}() {
for (T child : this) {
child.{{touchedTerminalsMethodName}}();
}
return this;
}
{{configJastAddOpt}}<T> {{configJastAddOpt}}.{{touchedTerminalsMethodName}}() {
if (getChild(0) != null) {
getChild(0).{{touchedTerminalsMethodName}}();
}
return this;
}
{{> ListAspect}}
static void ASTNode.{{logConsoleOut}}(String message, Object... args) {