Package org.apache.flex.abc.semantics

Examples of org.apache.flex.abc.semantics.MethodInfo


        //    public function dispatchEvent(event:flash.events.Event):Boolean
        //    {
        //        return _bindingEventDispatcher.dispatchEvent(event);
        //    }

        MethodInfo mi = new MethodInfo();
        mi.setMethodName(NAME_DISPATCH_EVENT.getBaseName());
        Vector<Name> paramTypes = new Vector<Name>(5);

        paramTypes.add(NAME_EVENT);

        mi.setParamTypes(paramTypes);

        mi.setReturnType(NAME_BOOLEAN);

        InstructionList insns = new InstructionList(8);
        insns.addInstruction(OP_getlocal0);
        insns.addInstruction(OP_getproperty, NAME_BINDING_EVENT_DISPATCHER);
        insns.addInstruction(OP_getlocal1);
View Full Code Here


        //    public function hasEventListener(type:String):Boolean
        //    {
        //        return _bindingEventDispatcher.hasEventListener(type);
        //    }

        MethodInfo mi = new MethodInfo();
        mi.setMethodName(NAME_HAS_EVENT_LISTENER.getBaseName());
        Vector<Name> paramTypes = new Vector<Name>(5);

        paramTypes.add(NAME_STRING);

        mi.setParamTypes(paramTypes);

        mi.setReturnType(NAME_BOOLEAN);

        InstructionList insns = new InstructionList(10);
        insns.addInstruction(OP_getlocal0);
        insns.addInstruction(OP_getproperty, NAME_BINDING_EVENT_DISPATCHER);
        insns.addInstruction(OP_getlocal1);
View Full Code Here

            PropertyWatcherInfo propertyWatcherInfo = (PropertyWatcherInfo)watcherInfoBase;
          
            boolean makeStaticWatcher = (watcherInfoBase.getType() == WatcherType.STATIC_PROPERTY);
           
            // round up the getter function for the watcher, or null if we don't need one
            MethodInfo propertyGetterFunction = null;
            if (watcherInfoBase.isRoot && !makeStaticWatcher)
            {
                // TODO: figure out what this looks like
                // propertyGetterFunction = this.propertyGetter;
                // assert propertyGetterFunction != null;
View Full Code Here

TOP

Related Classes of org.apache.flex.abc.semantics.MethodInfo

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.