18 lines
412 B
Java
18 lines
412 B
Java
package fr.xephi.authme.initialization.samples;
|
|
|
|
import javax.inject.Inject;
|
|
|
|
/**
|
|
* Sample class with invalid field injection (requires default constructor).
|
|
*/
|
|
public class BadFieldInjection {
|
|
|
|
@SuppressWarnings("unused")
|
|
@Inject
|
|
private AlphaService alphaService;
|
|
|
|
public BadFieldInjection(BetaManager betaManager) {
|
|
throw new IllegalStateException("Should never be called");
|
|
}
|
|
}
|