pombreda / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 1 forks source link

com.google.inject.spi.InjectionPoint getInjectionPoints warnings #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
These show up when running JUnits in Eclipse.

Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: protected void 
org.atinject.tck.auto.accessories.SpareTire.injectProtectedMethodForOverride() 
is not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.accessories.SpareTire.injectPublicMethodForOverride() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: void 
org.atinject.tck.auto.accessories.SpareTire.injectPackagePrivateMethod3() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.GasEngine.injectTwiceOverriddenWithOmissionInMiddle() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: void 
org.atinject.tck.auto.V8Engine.injectPackagePrivateMethodForOverride() is not 
annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.V8Engine.injectQualifiers(org.atinject.tck.auto.Seat,org.a
tinject.tck.auto.Seat,org.atinject.tck.auto.Tire,org.atinject.tck.auto.Tire) is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:01 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.V8Engine.injectTwiceOverriddenWithOmissionInSubclass() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: protected void 
org.atinject.tck.auto.accessories.SpareTire.injectProtectedMethodForOverride() 
is not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.accessories.SpareTire.injectPublicMethodForOverride() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: void 
org.atinject.tck.auto.accessories.SpareTire.injectPackagePrivateMethod3() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.GasEngine.injectTwiceOverriddenWithOmissionInMiddle() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: void 
org.atinject.tck.auto.V8Engine.injectPackagePrivateMethodForOverride() is not 
annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.V8Engine.injectQualifiers(org.atinject.tck.auto.Seat,org.a
tinject.tck.auto.Seat,org.atinject.tck.auto.Tire,org.atinject.tck.auto.Tire) is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:02 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
org.atinject.tck.auto.V8Engine.injectTwiceOverriddenWithOmissionInSubclass() is 
not annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:38 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$Sub.atInject() is not annotated with 
@Inject but is overriding a method that is annotated with @javax.inject.Inject. 
 Because it is not annotated with @Inject, the method will not be injected. To 
fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:38 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$Sub.atInject() is not annotated with 
@Inject but is overriding a method that is annotated with @javax.inject.Inject. 
 Because it is not annotated with @Inject, the method will not be injected. To 
fix this, annotate the method with @Inject.
Jan 12, 2011 3:14:38 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$SubSub.privateGAndPublicAt() is not 
annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.
Jan 12, 2011 3:15:33 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$Sub.atInject() is not annotated with 
@Inject but is overriding a method that is annotated with @javax.inject.Inject. 
 Because it is not annotated with @Inject, the method will not be injected. To 
fix this, annotate the method with @Inject.
Jan 12, 2011 3:15:33 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$Sub.atInject() is not annotated with 
@Inject but is overriding a method that is annotated with @javax.inject.Inject. 
 Because it is not annotated with @Inject, the method will not be injected. To 
fix this, annotate the method with @Inject.
Jan 12, 2011 3:15:33 PM com.google.inject.spi.InjectionPoint getInjectionPoints
WARNING: Method: public void 
com.google.inject.spi.InjectionPointTest$SubSub.privateGAndPublicAt() is not 
annotated with @Inject but is overriding a method that is annotated with 
@javax.inject.Inject.  Because it is not annotated with @Inject, the method 
will not be injected. To fix this, annotate the method with @Inject.

Original issue reported on code.google.com by glip...@gmail.com on 12 Jan 2011 at 8:32

GoogleCodeExporter commented 9 years ago
They are also in /core/target/surefire-reports/TestSuite-output.txt

Original comment by glip...@gmail.com on 12 Jan 2011 at 8:36

GoogleCodeExporter commented 9 years ago
The tests are running functionality that logs warnings.

Original comment by sberlin on 12 Jan 2011 at 9:00