Package org.rococoa

Examples of org.rococoa.ReleaseInFinalize


    }

    private boolean shouldReleaseInFinalize(Class<? extends ObjCObject> javaClass) {
        // Almost everything should be released in finalize, except wrappers for
        // NSAutoreleasePool.
        ReleaseInFinalize annotation = javaClass.getAnnotation(ReleaseInFinalize.class);
        if (annotation == null) {
            return true;
        }
        return annotation.value();
    }
View Full Code Here


    }

    private boolean shouldReleaseInFinalize(Class<? extends NSObject> javaClass) {
        // Almost everything should be released in finalize, except wrappers for
        // NSAutoreleasePool.
        ReleaseInFinalize annotation = javaClass.getAnnotation(ReleaseInFinalize.class);
        if (annotation == null)
            return true;
        return annotation.value();
    }
View Full Code Here

TOP

Related Classes of org.rococoa.ReleaseInFinalize

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.