G(WT) IN(jection) brings subset of Guice functionalities by using code generation instead of reflection.
For more information visit project wiki.
Google Gin
Home Page: http://gwtplus.github.io/google-gin/
License: Apache License 2.0
Will require some additional reporting plugins like findbugs, checkstyle and pmd
GWT Generators are going away in GWT 3 / j2cl. They only way forward is apt. The added benefit of migration would be out of the box support for non GWT projects like Java and Android ones.
However there are sharp alternatives supporting JSR-330:
but some Gin / GWT specific features are not supported by them:
More on the issue here: GWT 3 and Gin
Consider either migration to apt or creation of dagger extensions to support GWT specific features.
As suggested in: #deprecated-oss-parent projects should either maintain own parent pom or duplicate the configuration in own pom.
The project miss information what was changed since 2.1.
When new version of Guice is released.
So that Java 9/10 build is not released to central when we want to keep Java 8 compatibility.
Use maven enforcer
To verify that gin builds with those. We still want to preserve jdk8 compatibility.
Guice supports jdk9 with v4.2.0: google/guice#1085
Also add:
Automatic-Module-Name: com.google.gwt.inject
And how it could benefit developers with the migration to Dagger
More on this here: google-gin/D0YLieFtPSA/4x6nlSDQCQAJ
Originally reported on Google Code: #199 / #199
What steps will reproduce the problem?
According to the Guice injection points document at: guice/wiki/InjectionPoints injection methods of super classes are called before the methods of a subclass.
In Gin methods are sorted alphabetically meaning that some methods in sub class maybe called before methods from super class.
What is the expected output? What do you see instead?
I expect order of invocation as described in Guice Wiki
What version of the product are you using? On what operating system?
GWT 2.6.1 / GIN 2.1.2
Please provide any additional information below.
zip file with a test case attached in the original issue comments section
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.