Projects tagged ‘java’ and ‘reflection’


[35 total ]

1 Users
 

JDots, Java Dynamic Object Tree Software. A library/framework to create a dynamic tree of Java objects, for active method communication/propagation. Java implementation of the BEAST project.
Created over 2 years ago.

1 Users
   

Okay, it's pretty easy to instantiate objects in Java through standard reflection. However there are many cases where you need to go beyond what reflection provides. For example, if there's no ... [More] public constructor, you want to bypass the constructor code, or set final fields. There are numerous clever (but fiddly) approaches to getting around this and this library provides a simple way to get at them. You will find the official site here. [Less]
Created about 1 year ago.

1 Users
 

Javassist (Java Programming Assistant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java; it enables Java programs to define a new class at runtime and to ... [More] modify a class file when the JVM loads it. Unlike other similar bytecode editors, Javassist provides two levels of API: source level and bytecode level. If the users use the source-level API, they can edit a class file without knowledge of the specifications of the Java bytecode. The whole API is designed with only the vocabulary of the Java language. You can even specify inserted bytecode in the form of source text; Javassist compiles it on the fly. On the other hand, the bytecode-level API allows the users to directly edit a class file as other editors. [Less]
Created 10 months ago.

1 Users

A set of reflection utilities and miscellaneous utilities related to working with classes and their fields with no dependencies which is compatible with java 1.5 and generics. Features:These are ... [More] built to be compatible with Apache Commons BeanUtils and the nesting structure works the same, refer to the apache BeanUtils project docs for details. Support for Apache DynaClass / DynaBean is included. Current users of beanutils should be able to drop in these utilities and gain the functionality with minimal code changes. Handles field operations for properties (getters and setters), partial properties (only getter or only setter), and fields. This is configurable to use the fields only, properties only, or the hybrid approach (default). This improves upon the BeanUtils limitation of handlin [Less]
Created about 1 year ago.

1 Users

Working with Databases has never been Easier! QuickDB aims to develop a persistence library that allow the user to write only the Data Model, and the library will manage all the operations between ... [More] the Entities and the Database, without writing any line of code for Connection, Sql, etc. QuickDB is a library that allows a developer to focus on the definition of the entities that map the tables of the database and perform operations that allow the interaction between these entities and the database without having to perform tedious configurations, leaving to the library the task to inference the object structure and make the mapping of the object to the Database. [Less]
Created about 1 month ago.

0 Users

A visitor pattern written for Java that determines how to traverse an object graph by reflectively looking at annotated fields. The goal is to reduce boilerplate code associated with writing object ... [More] graph traversals and to allow for the ability to return any arbitrary value using a visitor. [Less]
Created 2 months ago.

0 Users

OverviewReflectASM is a very small Java library that provides high performance reflection by using code generation. UsageMethod reflection with ReflectASM: SomeClass someObject = ... MethodAccess ... [More] access = MethodAccess.get(SomeClass.class); access.invoke(someObject, "setName", "Awesome McLovin"); String name = (String)access.invoke(someObject, "getName");Field reflection with ReflectASM: SomeClass someObject = ... FieldAccess access = FieldAccess.get(SomeClass.class); access.set(someObject, "name", "Awesome McLovin"); String name = (String)access.get(someObject, "name");Avoiding Name LookupFor maximum performance when methods or fields are accessed repeatedly, the method or field index should be used instead of the name: SomeClass someObject = ... MethodAccess access = MethodAccess.get(SomeClass.class); int addNameIndex = access.getIndex("addName"); for (String name : names) access.invoke(someObject, addNameIndex, "Awesome McLovin");VisibilityReflectASM can only access public fields and methods. Bytecode generation could be used along with a special classloader to modify classes as they are loaded so that private members can be accessed. However, ReflectASM does not support this in an effort to keep the library as simple as possible. PerformanceReflectASM vastly outperforms Java's reflection. The source code for these benchmarks is included in the project. [Less]
Created about 1 month ago.

0 Users

GWT Reflection is a small framework which give you ability to use reflection API on client side (yes! on browse side!) of application. Google Web Toolkit obfuscate JavaScript so it is not readable for ... [More] application in execution time. So.. it is hard to use any kind of reflection on browser side of application. To make JavaScript reflectable we must create some helper that could memorize class description in compilation time. This description will later (in runtime) help us to manipulate classes, even after obfuscate. Project hosted on sourceforge.net (http://gwtreflection.sf.net) [Less]
Created 12 months ago.

0 Users

Collection of library or tools for programmer to help their project development easier.
Created 3 months ago.

0 Users

Housing's Java Advanced
Created 7 months ago.