aboutsummaryrefslogtreecommitdiff
path: root/core/src/com/google/inject/spi/Toolable.java
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2018-08-28 11:18:22 -0700
committerHaibo Huang <hhb@google.com>2018-08-28 11:20:15 -0700
commitbfaaf2b15f18ec4f73641d11539db4829f5b15e2 (patch)
treecb03f0d7b72d492f6f29457cbe0d5b5eee636f54 /core/src/com/google/inject/spi/Toolable.java
parent9b878813d48dee9b08a1cdc8c8b607a602752659 (diff)
downloadguice-bfaaf2b15f18ec4f73641d11539db4829f5b15e2.tar.gz
Upgrade guice to 4.2
Test: m checkbuild Change-Id: I7df64e3d67f5b6c586ff444f45636cd7b2935c1f
Diffstat (limited to 'core/src/com/google/inject/spi/Toolable.java')
-rw-r--r--core/src/com/google/inject/spi/Toolable.java14
1 files changed, 6 insertions, 8 deletions
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 {}