Wrapper Generator

A utility for generating wrapper class for any interface

License

License

GroupId

GroupId

com.github.zerkseez
ArtifactId

ArtifactId

wrapper-generator
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Wrapper Generator
A utility for generating wrapper class for any interface
Project URL

Project URL

https://github.com/zerkseez/wrapper-generator
Source Code Management

Source Code Management

https://github.com/zerkseez/wrapper-generator/tree/master

Download wrapper-generator

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zerkseez/wrapper-generator/ -->
<dependency>
    <groupId>com.github.zerkseez</groupId>
    <artifactId>wrapper-generator</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zerkseez/wrapper-generator/
implementation 'com.github.zerkseez:wrapper-generator:1.1.0'
// https://jarcasting.com/artifacts/com.github.zerkseez/wrapper-generator/
implementation ("com.github.zerkseez:wrapper-generator:1.1.0")
'com.github.zerkseez:wrapper-generator:jar:1.1.0'
<dependency org="com.github.zerkseez" name="wrapper-generator" rev="1.1.0">
  <artifact name="wrapper-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zerkseez', module='wrapper-generator', version='1.1.0')
)
libraryDependencies += "com.github.zerkseez" % "wrapper-generator" % "1.1.0"
[com.github.zerkseez/wrapper-generator "1.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.github.zerkseez : generic-reflection jar 1.1.0
com.google.guava : guava jar 20.0
commons-cli : commons-cli jar 1.3.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

wrapper-generator

A utility for generating wrapper class for any interface

Usage

java -cp CLASSPATH com.github.zerkseez.codegen.wrappergenerator.Main
  --classMappings WRAPPEE1:WRAPPER1 WRAPPEE2:WRAPPER2 ...
  --outputDirectory OUTPUT_DIRECTORY

Example

java -cp CLASSPATH com.github.zerkseez.codegen.wrappergenerator.Main
  --classMappings java.sql.Connection:com.mycompany.jdbc.wrapper.WrappedConnection
                  java.sql.ResultSet:com.mycompany.jdbc.wrapper.WrappedResultSet
  --outputDirectory $PROJECT_HOME/src/main/java

License

Apache License, Version 2.0

Versions

Version
1.1.0
1.0.0