豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 872 Bytes

File metadata and controls

33 lines (19 loc) · 872 Bytes

Chrome DevTools Java Protocol Builder

Description

Chrome DevTools Java Protocol Builder parses DevTools protocol.json - a protocol definition file and outputs the java classes and interfaces.

Building

To build jar file either run:

make build or mvn clean package

Running

java -jar target/cdt-java-protocol-builder.jar --base-package="com.github.kklisura.cdt.protocol" \
  --output=../cdt-java-client \
  --protocol=../protocol.json

This would parse ./protocol.json file and it would create classes, interfaces, enums in ../cdt-java-client with a package name of com.github.kklisura.cdt.protocol.

Running unit tests

make verify

Sonar analysis

make sonar-analysis

License

Chrome DevTools Java Protocol Builder is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.