import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class A {
    private static final Log log = LogFactory.getLog(A.class);

    void foo() {
        log
    }
}