import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

public class ClassWithBridgeMethod<T extends Runnable> implements ParameterizedInterface<T> {

	@Override
	public void doit(final T t) {
		
		@TypeUseAnnotation
		Object x = null;
		
		// Some instructions just to widen the scope of annotation for x 
		System.out.println(x);
		System.out.println(x);
	}

}

interface ParameterizedInterface<T> {
	void doit(T arg);
}

@Target({ ElementType.TYPE_USE })
@Retention(RetentionPolicy.CLASS)
@interface TypeUseAnnotation {
}