Javassist.
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java..
Here is the list of declaration for javassist. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.14.0-GA</version> </dependency>
If you think this Maven repository POM file listing for javassist is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:MPL 1.1
URL: http://www.mozilla.org/MPL/MPL-1.1.htmlName:LGPL 2.1
URL: http://www.gnu.org/licenses/lgpl-2.1.html.
The javassist-3.14.0-GA has 1 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 3.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1966 |
The following table lists the most popular artifacts which are depending on javassist-3.14.0-GA. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Android | robolectric 1.1 An alternative Android testing framework. | 6 |
Android | robolectric 1.0-RC1 An alternative Android testing framework. | 6 |
Android | robolectric 1.2 An alternative Android testing framework. | 14 |
Android | robolectric 1.0 An alternative Android testing framework. | 7 |
The following plugins are used in the javassist-3.14.0-GA.jar
The following packages are defined in the javassist-3.14.0-GA.jar
javassist javassist.bytecode javassist.bytecode.analysis javassist.bytecode.annotation javassist.bytecode.stackmap javassist.compiler javassist.compiler.ast javassist.convert javassist.expr javassist.runtime javassist.scopedpool javassist.tools javassist.tools.reflect javassist.tools.rmi javassist.tools.web javassist.util javassist.util.proxy
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <packaging>jar</packaging> <description>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java. </description> <version>3.14.0-GA</version> <name>Javassist</name> <url>http://www.javassist.org/</url> <issueManagement> <system>JIRA</system> <url>https://jira.jboss.org/jira/browse/JASSIST/</url> </issueManagement> <licenses> <!-- this is the license under which javassist is usually distributed --> <license> <name>MPL 1.1</name> <url>http://www.mozilla.org/MPL/MPL-1.1.html</url> </license> <!-- this is the license under which javassist is distributed when it is bundled with JBoss --> <license> <name>LGPL 2.1</name> <url>http://www.gnu.org/licenses/lgpl-2.1.html</url> </license> </licenses> <scm> <connection>scm:svn:http://anonsvn.jboss.org/repos/javassist/</connection> <developerConnection>scm:svn:https://svn.jboss.org/repos/javassist/</developerConnection> <url>http://fisheye.jboss.org/browse/javassist/</url> </scm> <distributionManagement> <!-- You need entries in your .m2/settings.xml like this: <servers> <server> <id>jboss-releases-repository</id> <username>your_jboss.org_username</username> <password>password</password> </server> <server> <id>jboss-snapshots-repository</id> <username>your_jboss.org_username</username> <password>password</password> </server> </servers> To deploy a snapshot, you need to run mvn deploy -Dversion=3.x.y-SNAPSHOT To deploy a release you need to change the version to 3.x.y.GA and run mvn deploy --> <repository> <id>jboss-releases-repository</id> <name>JBoss Releases Repository</name> <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>jboss-snapshots-repository</id> <name>JBoss Snapshots Repository</name> <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> </snapshotRepository> </distributionManagement> <build> <sourceDirectory>src/main/</sourceDirectory> <testSourceDirectory>src/test/</testSourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.4</source> <target>1.4</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.0.3</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <inherited>true</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <attach>true</attach> </configuration> </plugin> </plugins> </build> <profiles> <!-- profile for releasing to sonatype repo exercise with mvn -PcentralRelease --> <profile> <id>centralRelease</id> <!-- obviously we need to use the Sonatype staging repo for upload --> <distributionManagement> <repository> <id>sonatype-releases-repository</id> <name>Sonatype Releases Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> <!-- we need to be able to sign the jars we install --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <configuration> <passphrase>${gpg.passphrase}</passphrase> <useAgent>${gpg.useAgent}</useAgent> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <!-- profiles to add tools jar containing com.sun.jdi code needed by sample code --> <profile> <id>jdk14</id> <activation> <jdk>1.4</jdk> <property> <name>!no.tools</name> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.4</version> <scope>system</scope> <optional>true</optional> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> <profile> <id>jdk15</id> <activation> <jdk>1.5</jdk> <property> <name>!no.tools</name> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.5</version> <scope>system</scope> <optional>true</optional> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> <profile> <id>jdk16</id> <activation> <jdk>1.6</jdk> <property> <name>!no.tools</name> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.6</version> <scope>system</scope> <optional>true</optional> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>