Skip to content

Commit

Permalink
add & fix @SInCE tags, to prepare for new open-source release.
Browse files Browse the repository at this point in the history
The new release will be 4.2.3, not 5.0 as originally planned.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=301833910
  • Loading branch information
sameb authored and cpovirk committed Mar 19, 2020
1 parent 6f717b8 commit 5d34655
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions core/src/com/google/inject/Injector.java
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public interface Injector {
*
* <p>This method is part of the Guice SPI and is intended for use by tools and extensions.
*
* @since 5.0
* @since 4.2.3
*/
List<Element> getElements();

Expand All @@ -295,7 +295,7 @@ public interface Injector {
*
* <p>This method is part of the Guice SPI and is intended for use by tools and extensions.
*
* @since 5.0
* @since 4.2.3
*/
Map<TypeLiteral<?>, List<InjectionPoint>> getAllMembersInjectorInjectionPoints();
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public interface MapBinderBinding<T> {
* {@code Map<K, Collection<com.google.inject.Provider<V>>>}, {@code Map<K,
* Collection<javax.inject.Provider<V>>>}, and {@code Map<K, Set<V>}.
*
* @since 5.0
* @since 4.2.3
*/
Set<Key<?>> getAlternateMapKeys();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public interface MultibinderBinding<T> {
* {@code Collection<com.google.inject.Provider<V>>} and {@code
* Collection<javax.inject.Provider<V>>}.
*
* @since 5.0
* @since 4.2.3
*/
Set<Key<?>> getAlternateSetKeys();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public interface OptionalBinderBinding<T> {
* entry for {@code Optional<com.google.inject.Provider<V>>} and {@code
* Optional<javax.inject.Provider<V>>}.
*
* @since 5.0
* @since 4.2.3
*/
Set<Key<?>> getAlternateKeys();

Expand Down
1 change: 1 addition & 0 deletions core/src/com/google/inject/spi/MembersInjectorLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public MembersInjector<T> getDelegate() {
/**
* Returns the instance methods and fields that will be injected to fulfill this request.
*
* @since 4.2.3
* @return a possibly empty set of injection points. The set has a specified iteration order. All
* fields are returned and then all methods. Within the fields, supertype fields are returned
* before subtype fields. Similarly, supertype methods are returned before subtype methods.
Expand Down
14 changes: 12 additions & 2 deletions core/src/com/google/inject/util/Modules.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,11 @@ protected void configure() {
};
}

/** Returns a module that will configure the injector to require explicit bindings. */
/**
* Returns a module that will configure the injector to require explicit bindings.
*
* @since 4.2.3
*/
public static Module requireExplicitBindingsModule() {
return new RequireExplicitBindingsModule();
}
Expand All @@ -424,6 +428,7 @@ public void configure(Binder binder) {
* Returns a module that will configure the injector to require {@literal @}{@link Inject} on
* constructors.
*
* @since 4.2.3
* @see Binder#requireAtInjectOnConstructors
*/
public static Module requireAtInjectOnConstructorsModule() {
Expand All @@ -441,6 +446,7 @@ public void configure(Binder binder) {
* Returns a module that will configure the injector to require an exactly matching binding
* annotation.
*
* @since 4.2.3
* @see Binder#requireExactBindingAnnotations
*/
public static Module requireExactBindingAnnotationsModule() {
Expand All @@ -454,7 +460,11 @@ public void configure(Binder binder) {
}
}

/** Returns a module that will configure the injector to disable circular proxies. */
/**
* Returns a module that will configure the injector to disable circular proxies.
*
* @since 4.2.3
*/
public static Module disableCircularProxiesModule() {
return new DisableCircularProxiesModule();
}
Expand Down

0 comments on commit 5d34655

Please sign in to comment.