Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 2

The Byte Code Engineering Library is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte ... [More] code instructions, in particular. Such objects can be read from an existing file, be transformed by a program (e.g. a class loader at run-time) and dumped to a file again. An even more interesting application is the creation of classes from scratch at run-time. The Byte Code Engineering Library (BCEL) may be also useful if you want to learn about the Java Virtual Machine (JVM) and the format of Java .class files. BCEL contains a byte code verifier named JustIce, which usually gives you much bette [Less]

3.66667
   
  0 reviews  |  4 users  |  36,545 lines of code  |  3 current contributors  |  Analyzed almost 2 years ago
 
 

fun4j brings functional programming to the JVM. It's a framework that integrates major concepts from functional programming into the Java Platform. At its core there is a lambda-to-JVM bytecode compiler. Thanks to optimization techniques like tail code optimization (TCO) the compiler produces ... [More] code that runs as fast as hand optimized Java code. The compiler uses the excellent Java bytecode assembler ASM On top of this compiler you'll find a functional Java framework featuring higher order functions, partial application, support for Collections and Iterators, lambda terms, closures, etc. It's possible to define functions as lambda terms in classical LISP syntax. This avoids all the Java boilerplate code and thus improves code readability. LISP and java code are highly interoperable. [Less]

0
 
  0 reviews  |  1 user  |  54,014 lines of code  |  1 current contributor  |  Analyzed 4 days ago
 
 

MockInject is a library that supports accurate injection of your mockobjects (manual written or generated). Supported injection points are constructor- or method-calls. The injection-points can be defined by using a simple edsl. It uses ByteCodeInstrumentation to inject your mocks, but you ... [More] needen't to have any Knowledge about BCI or JavaBytecode, just use the edsl. [Less]

0
 
  0 reviews  |  1 user  |  5,405 lines of code  |  0 current contributors  |  Analyzed 8 days ago
 
 

Google Singleton DetectorBuilding GSD | Running GSD | Known Limitations | FAQ The Google Singleton Detector, or GSD, is a tool which analyzes Java bytecode and detects the use of Singletons. It's not quite as simple as that, however. First, GSD doesn't only detect singletons; it detects ... [More] four different types of global state, including singletons, hingletons, mingletons and fingletons (see the usage section for descriptions). Second, it outputs a graph with all these different types of static state highlighted, and shows all the classes that are directly dependent on them. The point of this tool is to allow you to see all of the uses of global state inside a project, as well as how they are all interrelated. Hopefully you'll be able to locate global state that is heavily depended on and remove it. But wait, why would I want to remove my global state and/or singletons? In a nutshell, because they can make testing difficult and hide problems with your design. Again, it's more complicated than that, so check out the FAQ for more info. Great, ready to get rid of some singletons? Head over to the downloads section to get the latest release, or checkout code from the SVN repository and build it yourself. Keep in mind this is still an early build; if you find that some classes are not being labeled properly, check the known limitations and file an issue if appropriate. Where to next?GSD was build in order to help identify hard to test code which is due to singletons design pattern. We now have a general form of "Testability" available here at Testability Explorer. You can see a demo of Testability Explorer at http://www.testabilityexplorer.org/. [Less]

0
 
  0 reviews  |  0 users  |  1,808 lines of code  |  0 current contributors  |  Analyzed 4 days ago
 
 
Compare

x86 Assembly language Development Tools is a set of Eclipse plugins, which makes assembly language development's life easier.

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

Fast Reflectionjava refleciton api 可以让程序变得灵活,但是速度影响很大,fast Refleciton 可以解决这个问题 速度Fast Reflction 在我的测试中所花的时间大约是javaReflection所花时间的10%-20% 用法public static void main(String args[]) { try { int N ... [More] = 100000000; FastReflect fr = new FastReflect(); Method m = TestClass.class.getMethod("setAaa", new Class[] { int.class }); FastMethod fm = fr.getFastMethod(m); TestClass test = new TestClass(); long start = System.currentTimeMillis(); for (int i = 0; i < N; i++) { m.invoke(test, 1); } long reflectTime = System.currentTimeMillis() - start; start = System.currentTimeMillis(); for (int i = 0; i < N; i++) { fm.invoke(test, 1); } long fastReflectTime = System.currentTimeMillis() - start; System.out.println("Reflect:" + reflectTime); System.out.println("fastReflect:" + fastReflectTime); } catch (Exception e) { e.printStackTrace(); } } public static class TestClass { private int aaa; /** * @return the aaa */ public int getAaa() { return aaa; } /** * @param aaa * the aaa to set */ public void setAaa(int aaa) { this.aaa = aaa; } } [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

Projet compilateur Yaka en YVM et ASM Fait par la blobbyCompiloTeam Yaka travailler maintenant !!!!!

0
 
  0 reviews  |  0 users  |  3,607 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

refactor class in a self-contained jar,rename className,methodName,fieldName,etc. ... [More] 有时候,要研究一些java相关的东西,但是没有源代码,只有二进制的jar,同时这个jar呢,又被混淆过了,反编译很困难,为了研究需要,因此写了这么一个小东西,没几行代码,实现的功能有: 修改className 修改类里的methodName,fieldName 修改interfaceName 修改interface里的methodName 主要辅助研究混淆过的代码用的,配合jd-gui 就很方便了,功能很简单,而且还有一些已知的bug,例如,修改了一个类中的接口方法,需要将所属的接口(们)里的方法都修改掉(相应的会修改所有实现类) 暂时没有使用文档,见run脚本,配置文件格式很简单,示例见a.props [Less]

0
 
  0 reviews  |  0 users  |  716 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

Project is all about creating objects on the fly which helps developers to test the application with out real data and real business objects. Intend is to help Struts gui developers to test the application with out real objects.

0
 
  0 reviews  |  0 users  |  565 lines of code  |  0 current contributors  |  Analyzed about 10 hours ago
 
 
Compare

The goal of this project is to create: A model of the x86 instruction set in Java A mechanism for executing x86 instructions from within the JVM A mechanism for dynamically generating and executing x86 instructions within a process Further extensions may include: compilers and decompilers

0
 
  0 reviews  |  0 users  |  196 lines of code  |  0 current contributors  |  Analyzed 4 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.