License |
License |
---|---|
Categories |
CategoriesNet |
GroupId | GroupIdnet.wetheinter |
ArtifactId | ArtifactIdxapi-template |
Last Version | Last Version0.2 |
Release Date | Release Date |
Type | Typejar |
Description |
DescriptionXApi - Code Generator Templates
A simple templating system for java codegen.
This library includes an object-oriented, fluent source writing api, for a chained, intuitive codegen api.
It also includes a template processor which can take java source files formatted with "magic comments",
to allow simple mapping of GeneratorClass#generatorMethod() to inject dynamic source content.
//@generateWith(GeneratorClass)//
-Sets the current generator. You may use as many as you please
//generatorMethod(arbitrary-string-data-you-may-want-to-parse)//
-invokes the named method on the current injector, with any text (between brackets) sent as a string
This allows you to markup default source with hooks where you may want to inject arbitrary code.
It is especially useful for generating super-source in gwt compiles; changes to the default class are propagated to overrides.
|
Project URL |
Project URL |
Project Organization |
Project Organization |
Filename | Size |
---|---|
xapi-template-0.2.pom | |
xapi-template-0.2.jar | 41 KB |
xapi-template-0.2-tests.jar | 8 KB |
xapi-template-0.2-sources.jar | 29 KB |
xapi-template-0.2-javadoc.jar | 141 KB |
Browse |
<!-- https://jarcasting.com/artifacts/net.wetheinter/xapi-template/ -->
<dependency>
<groupId>net.wetheinter</groupId>
<artifactId>xapi-template</artifactId>
<version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/net.wetheinter/xapi-template/
implementation 'net.wetheinter:xapi-template:0.2'
// https://jarcasting.com/artifacts/net.wetheinter/xapi-template/
implementation ("net.wetheinter:xapi-template:0.2")
'net.wetheinter:xapi-template:jar:0.2'
<dependency org="net.wetheinter" name="xapi-template" rev="0.2">
<artifact name="xapi-template" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.wetheinter', module='xapi-template', version='0.2')
)
libraryDependencies += "net.wetheinter" % "xapi-template" % "0.2"
[net.wetheinter/xapi-template "0.2"]
Group / Artifact | Type | Version |
---|---|---|
com.google.gwt : gwt-dev | jar | 2.5.0 |
Group / Artifact | Type | Version |
---|---|---|
junit : junit | jar | 4.8.1 |