Package libshapedraw.internal.LSDUtil

Examples of libshapedraw.internal.LSDUtil.NullMap


            // "Neuter" the original profiler by changing its vanilla-defined
            // reference types to new dummy instances.
            if (f.getType() == List.class) {
                LSDUtil.setFinalField(f, proxy.orig, new NullList());
            } else if (f.getType() == Map.class) {
                LSDUtil.setFinalField(f, proxy.orig, new NullMap());
            }
        }

        if (proxy.orig.getClass() == vanillaClass) {
            // No need to keep a reference to the original profiler.
View Full Code Here


            // "Neuter" the original profiler by changing its vanilla-defined
            // reference types to new dummy instances.
            if (f.getType() == List.class) {
                LSDUtil.setFinalField(f, proxy.orig, new NullList());
            } else if (f.getType() == Map.class) {
                LSDUtil.setFinalField(f, proxy.orig, new NullMap());
            }
        }

        if (proxy.orig.getClass() == vanillaClass) {
            // No need to keep a reference to the original profiler.
View Full Code Here

TOP

Related Classes of libshapedraw.internal.LSDUtil.NullMap

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.