Skip to content

Commit

Permalink
release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed May 4, 2022
1 parent 44584ef commit 0adf74d
Show file tree
Hide file tree
Showing 22 changed files with 52 additions and 100 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Improve performance with ASM enhancements for any Java project.

<a href="http://search.maven.org/#search%7Cga%7C1%7Cblade-asm"><img src="https://img.shields.io/maven-central/v/com.hellokaton/blade-asm.svg?style=flat-square"></a>

## Usage

```xml
<dependency>
<groupId>com.bladejava</groupId>
<groupId>com.hellokaton</groupId>
<artifactId>blade-asm</artifactId>
<version>0.0.4</version>
<version>0.1.0</version>
</dependency>
```

Expand All @@ -27,12 +29,12 @@ Or
</repository>

<dependency>
<groupId>com.bladejava</groupId>
<groupId>com.hellokaton</groupId>
<artifactId>blade-asm</artifactId>
<version>0.0.5-SNAPSHOT</version>
<version>0.1.1-SNAPSHOT</version>
</dependency>
```

## Contact

biezhi.me#gmail.com
hellokaton@gmail.com
92 changes: 21 additions & 71 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.bladejava</groupId>
<groupId>com.hellokaton</groupId>
<artifactId>blade-asm</artifactId>
<version>0.0.4</version>
<version>0.1.0</version>

<name>blade-asm</name>
<url>https://lets-blade.com</url>
Expand All @@ -20,14 +20,14 @@
</licenses>
<developers>
<developer>
<name>biezhi</name>
<email>biezhi.me@gmail.com</email>
<name>hellokaton</name>
<email>hellokaton@gmail.com</email>
</developer>
</developers>
<scm>
<connection>scm:git@github.com:biezhi/blade.git</connection>
<developerConnection>scm:git@github.com:biezhi/blade.git</developerConnection>
<url>git@github.com:biezhi/blade.git</url>
<connection>scm:git@github.com:lets-blade/blade-asm.git</connection>
<developerConnection>scm:git@github.com:lets-blade/blade-asm.git</developerConnection>
<url>git@github.com:lets-blade/blade-asm.git</url>
</scm>

<properties>
Expand All @@ -40,7 +40,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -71,6 +71,15 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- Test -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>

Expand All @@ -79,15 +88,15 @@
<id>release</id>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<id>ossrh</id>
<url>
https://oss.sonatype.org/content/repositories/snapshots/
https://s01.oss.sonatype.org/content/repositories/snapshots/
</url>
</snapshotRepository>
<repository>
<id>oss</id>
<id>ossrh</id>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
Expand Down Expand Up @@ -146,65 +155,6 @@
</plugins>
</build>
</profile>
<profile>
<id>snapshots</id>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>
https://oss.sonatype.org/content/repositories/snapshots/
</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!--skip test-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!-- Gpg Signature -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import com.blade.reflectasm.method.MethodVisitor;
import com.hellokaton.blade.asm.method.MethodVisitor;
import org.objectweb.asm.ClassReader;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import java.lang.ref.WeakReference;
import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import static org.objectweb.asm.Opcodes.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import static org.objectweb.asm.Opcodes.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import org.objectweb.asm.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

public abstract class PublicConstructorAccess extends ConstructorAccess {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm.method;
package com.hellokaton.blade.asm.method;

import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Opcodes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm.method;
package com.hellokaton.blade.asm.method;

import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm.method;
package com.hellokaton.blade.asm.method;

public class MethodParameter {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm.method;
package com.hellokaton.blade.asm.method;

import org.objectweb.asm.Type;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm.method;
package com.hellokaton.blade.asm.method;

import org.objectweb.asm.Label;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import junit.framework.TestCase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.blade.reflectasm;
package com.hellokaton.blade.asm;

import junit.framework.TestCase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package com.blade.reflectasm.benchmark;
package com.hellokaton.blade.asm.benchmark;

import java.util.ArrayList;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* <p>
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.blade.reflectasm.benchmark;
package com.hellokaton.blade.asm.benchmark;

import com.blade.reflectasm.ConstructorAccess;
import com.hellokaton.blade.asm.ConstructorAccess;

public class ConstructorAccessBenchmark extends Benchmark {
public ConstructorAccessBenchmark() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
package com.blade.reflectasm.benchmark;
package com.hellokaton.blade.asm.benchmark;

import com.blade.reflectasm.FieldAccess;
import com.hellokaton.blade.asm.FieldAccess;

import java.lang.reflect.Field;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* <p>
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.blade.reflectasm.benchmark;
package com.hellokaton.blade.asm.benchmark;

import com.blade.reflectasm.MethodAccess;
import com.hellokaton.blade.asm.MethodAccess;

import java.lang.reflect.Method;

Expand Down

0 comments on commit 0adf74d

Please sign in to comment.