File: README.md

package info (click to toggle)
asm 9.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,120 kB
  • sloc: java: 52,598; xml: 229; makefile: 11
file content (66 lines) | stat: -rw-r--r-- 2,271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# ASM

ASM is an all purpose Java bytecode manipulation and analysis framework. It can
be used to modify existing classes or to dynamically generate classes, directly
in binary form. ASM provides some common bytecode transformations and analysis
algorithms from which custom complex transformations and code analysis tools can
be built. ASM offers similar functionality as other Java bytecode frameworks,
but is focused on [performance](https://asm.ow2.io/performance.html). Because it
was designed and implemented to be as small and as fast as possible, it is well
suited for use in dynamic systems (but can of course be used in a static way
too, e.g. in compilers).

## Building the Project

To build the project, you need to have [Java 11+](https://openjdk.java.net)
installed on your system. You can build the project by running the following
command:

```shell
./gradle/gradlew clean build
```

After the build is complete, you can find the compiled JAR files in the
corresponding `build/libs` directory of each submodule.

To run only the project tests, you can use the following command:

```shell
./gradle/gradlew test
```

## How to Contribute

To contribute to the ASM project fork this repository
on [GitLab](https://gitlab.ow2.org/asm/asm), make changes,
then send us
a [merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html).
We will review your changes and apply them to the `master` branch.
To avoid frustration, before sending us your merge request, please run a full
Gradle build to ensure that your changes do not violate our quality standards:

```shell
./gradle/gradlew clean build
```

All submodules are checked
with [googleJavaFormat](https://github.com/google/google-java-format),
[Checkstyle](https://checkstyle.sourceforge.io)
and [PMD](https://pmd.github.io).

To fix code formatting errors, you can run the reformat task:

```shell
./gradle/gradlew spotlessApply
```

For more details, see the [Developer Guide](https://asm.ow2.io/developer-guide.html)

## Reporting Issues

If you encounter any issues with the ASM project, please create a new issue
on the [GitLab issue tracker](https://gitlab.ow2.org/asm/asm/-/issues).

## License

ASM is licensed under the [BSD 3-Clause License](LICENSE.txt).