[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4048":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},4048,"guice","google\u002Fguice","google","Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice",null,"Java",12734,1682,512,340,0,3,44.68,"Apache License 2.0",false,"master",true,[],"2026-06-12 02:00:57","Guice\n====\n\n-   **Latest releases:**\n    * **[6.0.0](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fwiki\u002FGuice600) (supports `javax.{inject,servlet,persistence}`, [mostly supports](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fwiki\u002FGuice600#jee-jakarta-transition) `jakarta.inject`)**\n    * **[7.0.0](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fwiki\u002FGuice700) (supports `jakarta.{inject,servlet,persistence}`)**\n    * (6.0.0 & 7.0.0 are equivalent except for their javax\u002Fjakarta support.)\n-   **Documentation:**\n    * [User Guide](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fwiki\u002FMotivation),\n    * [6.0.0 javadocs](https:\u002F\u002Fgoogle.github.io\u002Fguice\u002Fapi-docs\u002F6.0.0\u002Fjavadoc\u002Findex.html)\n    * [7.0.0 javadocs](https:\u002F\u002Fgoogle.github.io\u002Fguice\u002Fapi-docs\u002F7.0.0\u002Fjavadoc\u002Findex.html)\n    * [Latest Snapshot javadocs](https:\u002F\u002Fgoogle.github.io\u002Fguice\u002Fapi-docs\u002Flatest\u002Fjavadoc\u002Findex.html)\n-   **Continuous Integration:**\n    [![Build Status](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fworkflows\u002Fcontinuous-integration\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Factions)\n-   **Mailing Lists:** [User Mailing List](http:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fgoogle-guice) \u003Cbr\u002F>\n-   **License:** [Apache 2.0](http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n\nOverview\n====\n\nPut simply, Guice alleviates the need for factories and the use of new in your Java code. Think of Guice's @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts.\n\nGuice embraces Java's type safe nature. You might think of Guice as filling in missing features for core Java. Ideally, the language itself would provide most of the same features, but until such a language comes along, we have Guice.\n\nGuice helps you design better APIs, and the Guice API itself sets a good example. Guice is not a kitchen sink. We justify each feature with at least three use cases. When in doubt, we leave it out. We build general functionality which enables you to extend Guice rather than adding every feature to the core framework.\n\nGuice aims to make development and debugging easier and faster, not harder and slower. In that vein, Guice steers clear of surprises and magic. You should be able to understand code with or without tools, though tools can make things even easier. When errors do occur, Guice goes the extra mile to generate helpful messages.\n\nFor an introduction to Guice and a comparison to new and the factory pattern, see [Bob Lee's video presentation](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=hBVJbzAagfs). After that, check out our [user's guide](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguice\u002Fwiki\u002FMotivation).\n\nWe've been running Guice in mission critical applications since 2006, and now you can, too. We hope you enjoy it as much as we do.\n\n\nInstallation Instructions\n====\nGuice Core (Maven)\n```xml\n\u003Cdependency>\n  \u003CgroupId>com.google.inject\u003C\u002FgroupId>\n  \u003CartifactId>guice\u003C\u002FartifactId>\n  \u003C!-- {version} can be 6.0.0, 7.0.0, etc. -->\n  \u003Cversion>{version}\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\nGuice Extension (Maven)\n```xml\n\u003Cdependency>\n  \u003CgroupId>com.google.inject.extensions\u003C\u002FgroupId>\n  \u003C!-- {extension-name} can be one of: assistedinject, dagger-adapter,\n       grapher, jmx, jndi, persist, spring, testlib or throwingproviders -->\n  \u003CartifactId>guice-{extension-name}\u003C\u002FartifactId>\n  \u003C!-- {version} must match the guice core version. -->\n  \u003Cversion>{version}\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\nSee [Maven Central](https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.inject\u002Fguice\u002F) for more details, including snippets for other build systems such as Gradle, Ivy, sbt, and more.\n\n---\n[![jolt award](https:\u002F\u002Fuser-images.githubusercontent.com\u002F1885701\u002F52603534-0d620380-2e1c-11e9-8cd5-95f0e141fcb0.png)](http:\u002F\u002Fwww.drdobbs.com\u002Ftools\u002Fwinners-of-the-18th-jolt-product-excelle\u002F207600666?pgno=6)\n","Guice 是一个由 Google 提供的轻量级依赖注入框架，适用于 Java 11 及以上版本。它通过 @Inject 注解简化了对象的创建和管理过程，减少了对工厂模式和 new 关键字的直接依赖，从而使得代码更易于测试、维护及复用。Guice 支持类型安全，并且提供了丰富的功能来帮助开发者设计更好的 API，同时保持了框架本身的简洁性，避免不必要的复杂特性。此框架非常适合需要灵活配置和管理组件间依赖关系的应用场景，特别是在开发大型或复杂的 Java 应用程序时能够显著提高开发效率与代码质量。",2,"2026-06-11 02:58:07","top_language"]