Spring Generics

Procedurally extracted version of the Spring Framework's wonderful generics utilities.

License

License

GroupId

GroupId

com.unquietcode.tools.spring
ArtifactId

ArtifactId

spring-generics
Last Version

Last Version

4.2.5
Release Date

Release Date

Type

Type

jar
Description

Description

Spring Generics
Procedurally extracted version of the Spring Framework's wonderful generics utilities.
Project URL

Project URL

https://github.com/UnquietCode/spring-generics
Source Code Management

Source Code Management

https://github.com/UnquietCode/spring-generics

Download spring-generics

How to add to project

<!-- https://jarcasting.com/artifacts/com.unquietcode.tools.spring/spring-generics/ -->
<dependency>
    <groupId>com.unquietcode.tools.spring</groupId>
    <artifactId>spring-generics</artifactId>
    <version>4.2.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.unquietcode.tools.spring/spring-generics/
implementation 'com.unquietcode.tools.spring:spring-generics:4.2.5'
// https://jarcasting.com/artifacts/com.unquietcode.tools.spring/spring-generics/
implementation ("com.unquietcode.tools.spring:spring-generics:4.2.5")
'com.unquietcode.tools.spring:spring-generics:jar:4.2.5'
<dependency org="com.unquietcode.tools.spring" name="spring-generics" rev="4.2.5">
  <artifact name="spring-generics" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.unquietcode.tools.spring', module='spring-generics', version='4.2.5')
)
libraryDependencies += "com.unquietcode.tools.spring" % "spring-generics" % "4.2.5"
[com.unquietcode.tools.spring/spring-generics "4.2.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Spring Generics (v4.2.5) Build Status

Tip with Gratipay Tip with BitcoinBitcoin

This library is a procedural extraction (eg 'shaded jar') comprised of the generics utilities from the spring-core module of the Spring Framework project. Spring has some of the smartest generics resolution code available, but most developers are reluctant to bring a larger dependency like spring-core into their projects. Additionally, with so many users of Spring there is a higher chance of a problem arising due to dependency mismatches.

By repackaging select Spring classes, the aforementioned problems are easily avoided. The versioning here reflects the original Spring release version from where the code was extracted. Package names have been changed to protect the innocent. There are no transitive dependencies to worry about either.

Usage

The dependencies are deployed to Maven Central. To use, add the following to your build script:

Maven

<dependency>
  <groupId>com.unquietcode.tools.spring</groupId>
  <artifactId>spring-generics</artifactId>
  <version>4.2.5</version>
</dependency>

Gradle

dependencies {
  compile 'com.unquietcode.tools.spring:spring-generics:4.2.5'
}

License

This module is licensed under the Apache License 2.0, matching the license used by the actual Spring Framework project.

Versions

Version
4.2.5
4.1.4