2

I am trying to write a code analyzer with codeql(https://securitylab.github.com/tools/codeql),but I account an error which is displayed as flollowing

[2021-01-20 15:56:59] [javac-extractor-4576] [WARN] Skipping Lombok-ed source file: 

so my lombok-ed source file is not include in codeql database

eg.my lombok-ed source file displayed as flollowing

public class Test1{
    public static String testOkHttpGet() {
        OkHttpClient okHttpClient = new OkHttpClient();

        HttpUrl httpUrl = HttpUrl.parse("http://localhost:8080/demo/list").newBuilder()
                .addQueryParameter("name", "HTTP").build();

        okhttp3.Request request = new okhttp3.Request.Builder().url(httpUrl.toString()).build();
        try (Response response = okHttpClient.newCall(request).execute()) {
            ResponseBody body = response.body();
            if (response.isSuccessful()) {
            } else {
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        return null;
    }

    @Data
    @AllArgsConstructor
    class Student{
        String name;
        String age;
    }

}

and the file is not include in src.zip enter image description here

kongzhen
  • 21
  • 1

0 Answers0