Package org.terasology.reflection.reflect

Examples of org.terasology.reflection.reflect.ByteCodeReflectFactory


    public static void main(String[] args) {
        final List<Benchmark> benchmarks = Lists.newArrayList();

        benchmarks.add(new FieldAccessBenchmark(new ReflectionReflectFactory()));
        benchmarks.add(new FieldAccessBenchmark(new ByteCodeReflectFactory()));
        benchmarks.add(new GetterSetterAccessBenchmark(new ReflectionReflectFactory()));
        benchmarks.add(new GetterSetterAccessBenchmark(new ByteCodeReflectFactory()));
        benchmarks.add(new ConstructionBenchmark(new ReflectionReflectFactory()));
        benchmarks.add(new ConstructionBenchmark(new ByteCodeReflectFactory()));

        Benchmarks.execute(benchmarks, new PrintToConsoleCallback());

    }
View Full Code Here

TOP

Related Classes of org.terasology.reflection.reflect.ByteCodeReflectFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.