Examples of scoping()


Examples of org.jruby.internal.runtime.methods.CallConfiguration.scoping()

            // optimization. Hopefully this will be enough to convince people not to alias
            // them.
            CallConfiguration callerReq = ((JavaMethod)method).getCallerRequirement();

            if (callerReq.framing() != Framing.None ||
                    callerReq.scoping() != Scoping.None) {String baseName = getBaseName();
                char refChar = '#';
                String simpleName = getSimpleName();

                if (baseName == null && this instanceof MetaClass) {
                    IRubyObject attached = ((MetaClass)this).getAttached();
View Full Code Here

Examples of org.jruby.internal.runtime.methods.CallConfiguration.scoping()

        if (needs.framing() == Framing.Full) {
            Set<String> frameAwareMethods = new HashSet<String>();
            AnnotationHelper.addMethodNamesToSet(frameAwareMethods, jrubyMethod, simpleName);
            MethodIndex.FRAME_AWARE_METHODS.addAll(frameAwareMethods);
        }
        if (needs.scoping() == Scoping.Full) {
            Set<String> scopeAwareMethods = new HashSet<String>();
            AnnotationHelper.addMethodNamesToSet(scopeAwareMethods, jrubyMethod, simpleName);
            MethodIndex.SCOPE_AWARE_METHODS.addAll(scopeAwareMethods);
        }
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.