Package org.jibx.binding.classes

Examples of org.jibx.binding.classes.BranchTarget


            dmeth.appendARRAYLENGTH();
            int arrayindex = dmeth.addLocal("index",
                ClassItem.typeFromName("int"));
           
            // start comparison loop with check for off bottom of array
            BranchTarget start = dmeth.appendTargetNOP();
            dmeth.appendIncrementLocal(-1, arrayindex);
            dmeth.appendLoadLocal(arrayindex);
            BranchWrapper loadnext = dmeth.appendIFGE(dmeth);
           
            // throw an exception for value not found
View Full Code Here


           
                // finish by calling unmarshaller for extension mapping
                //  found and returning the result with no further
                //  processing
                mb.initStackState(iffounds[0]);
                BranchTarget found = mb.appendTargetACONST_NULL();
                for (int i = 0; i < iffounds.length; i++) {
                    iffounds[i].setTarget(found, mb);
                }
                mb.loadContext();
                mb.appendCallInterface(UNMARSHALLERUNMARSHAL_METHOD,
View Full Code Here

                iffounds[i] = mb.appendIFNE(this);
            }
            mb.appendICONST_0();
            mb.appendReturn("int");
            mb.initStackState(iffounds[0]);
            BranchTarget found = mb.appendTargetLoadConstant(1);
            if (ifthis != null) {
                ifthis.setTarget(found, mb);
            }
            for (int i = 0; i < iffounds.length; i++) {
                iffounds[i].setTarget(found, mb);
View Full Code Here

TOP

Related Classes of org.jibx.binding.classes.BranchTarget

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.