An open API service indexing awesome lists of open source software.

https://github.com/zenliucn/bytebuddy-assmbeler

utilities for use byte-buddy build class
https://github.com/zenliucn/bytebuddy-assmbeler

asm byte-buddy

Last synced: 11 months ago
JSON representation

utilities for use byte-buddy build class

Awesome Lists containing this project

README

          

# Assembler
[![](https://jitpack.io/v/ZenLiuCN/bytebuddy-assmbeler.svg)](https://jitpack.io/#ZenLiuCN/bytebuddy-assmbeler)

Utilities for use ByteBuddy to generate classes.

## Component
### Maker
Utilities to make Description for Elements.
+ TypeMaker : make `TypeDescription.Latent`
+ MethodMaker : make `MethodDescription.Latent`
+ MethodTokenMaker : make `MethodDescription.Token`
+ FieldMaker : make `FieldDescription.Latent`
+ FieldTokenMaker : make `FieldDescription.Token`
+ TypeVariableMaker : make `TypeVariableToken`
+ ParameterTokenMaker : make `ParameterDescription.Token`
+ generic(*) : a wrapper for `TypeDescription.Generic.Builder`
+ annotation(*) : a wrapper for `AnnotationDescription.Builder`
### Assembler
Utilities to build ByteCode with ASM like mode.
+ Manual: Simplest builder with only ByteCode operates.
+ Compute: Complex builder with stack compute and type trace.
### ByteBuddyPlugin and Extension
+ ByteBuddyPlugin: the implement of Byte-Buddy's `Plugin`
+ Extension: SPI for use by `ByteBuddyPlugin`

use with maven for compile time enhancement:
```xml

net.bytebuddy
byte-buddy-maven-plugin
${byte-buddy-maven-plugin.version}


post-compile
compile

transform



post-test-compile
test-compile

transform-test





true


```

## License
GPL-2.0-only WITH Classpath-exception-2.0 (SPDX identifier)