Examples of framing()


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

            // We warn because we treat certain method names as "special" for purposes of
            // 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) {
View Full Code Here

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

    private static void define(RubyModule module, JavaMethodDescriptor desc, String simpleName, DynamicMethod dynamicMethod) {
        JRubyMethod jrubyMethod = desc.anno;
        // check for frame field reads or writes
        CallConfiguration needs = CallConfiguration.valueOf(AnnotationHelper.getCallerCallConfigNameByAnno(jrubyMethod));

        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) {
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.