Package org.robotlegs.toolwindows

Examples of org.robotlegs.toolwindows.UsageMapping


    {
        Vector<UsageMapping> usageMappings = new Vector<UsageMapping>();

        for (UsageInfo2UsageAdapter functionUsage : functionUsages)
        {
            UsageMapping usageMapping = new UsageMapping(functionUsage);

            //move "up" from function: mediatorMap.mapView -> mediatorMap.mapView(View, Mediator)
            PsiElement context = functionUsage.getElement().getContext();

            if (context != null)
            {
                //move "right" to args: mediatorMap.mapView(View, Mediator) -> (View, Mediator)
                PsiElement[] children = context.getChildren()[1].getChildren();
                for (PsiElement child : children)
                {
                    usageMapping.add(ResolveUtils.resolveElement(child));
                }

                usageMappings.add(usageMapping);
            }
View Full Code Here

TOP

Related Classes of org.robotlegs.toolwindows.UsageMapping

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.