From bfaaf2b15f18ec4f73641d11539db4829f5b15e2 Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Tue, 28 Aug 2018 11:18:22 -0700 Subject: Upgrade guice to 4.2 Test: m checkbuild Change-Id: I7df64e3d67f5b6c586ff444f45636cd7b2935c1f --- core/src/com/google/inject/spi/Toolable.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'core/src/com/google/inject/spi/Toolable.java') diff --git a/core/src/com/google/inject/spi/Toolable.java b/core/src/com/google/inject/spi/Toolable.java index ffabd9dd..d09ab307 100644 --- a/core/src/com/google/inject/spi/Toolable.java +++ b/core/src/com/google/inject/spi/Toolable.java @@ -1,4 +1,4 @@ -/** +/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,6 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.inject.Injector; import com.google.inject.Stage; - import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; @@ -29,17 +28,16 @@ import java.lang.annotation.Target; /** * Instructs an {@link Injector} running in {@link Stage#TOOL} that a method should be injected. * This is typically useful for for extensions to Guice that perform additional validation in an - * injected method or field. This only applies to objects that are already constructed when - * bindings are created (ie., something bound using {@link + * injected method or field. This only applies to objects that are already constructed when bindings + * are created (ie., something bound using {@link * com.google.inject.binder.LinkedBindingBuilder#toProvider toProvider}, {@link * com.google.inject.binder.LinkedBindingBuilder#toInstance toInstance}, or {@link * com.google.inject.Binder#requestInjection requestInjection}. - * + * * @author sberlin@gmail.com (Sam Berlin) * @since 3.0 */ -@Target({ METHOD }) +@Target({METHOD}) @Retention(RUNTIME) @Documented -public @interface Toolable { -} +public @interface Toolable {} -- cgit v1.2.3