![]() |
![]() |
org.eclipse.team.ui_3.6.101.R37x_v20111109-0800ExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 391: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 394: aload_0 // 395: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 398: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 401: invokevirtual 404 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:validateEditWorkspaceFile (Lorg/eclipse/swt/widgets/Shell;)V // 404: new 167 java/io/BufferedWriter // 407: dup // 408: new 171 java/io/OutputStreamWriter // 411: dup // 412: new 169 java/io/FileOutputStream // 415: dup // 416: aload 4 // 418: invokespecial 372 java/io/FileOutputStream:<init> (Ljava/io/File;)V // 421: ldc 2 // 423: invokespecial 373 java/io/OutputStreamWriter:<init> (Ljava/io/OutputStream;Ljava/lang/String;)V // 426: invokespecial 366 java/io/BufferedWriter:<init> (Ljava/io/Writer;)V // 429: astore 10 // 431: aload_0 // 432: invokespecial 408 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:getXMLMementoRoot ()Lorg/eclipse/ui/XMLMemento; // 435: astore 11 // 437: aload 8 // 439: invokeinterface 417 1 0 // 444: invokeinterface 422 1 0 // 449: astore 12 // 451: aload_1 // 452: aconst_null // 453: sipush 1000 // 456: aload 8 // 458: invokeinterface 417 1 0 // 463: invokeinterface 420 1 0 // 468: imul // 469: invokeinterface 425 3 0 // 474: goto +164 -> 638 // 477: aload 12 // 479: invokeinterface 416 1 0 // 484: checkcast 174 java/lang/String // 487: astore 13 // 489: aload 11 // 491: ldc 3 // 493: invokevirtual 413 org/eclipse/ui/XMLMemento:createChild (Ljava/lang/String;)Lorg/eclipse/ui/IMemento; // 496: astore 14 // 498: aload 14 // 500: ldc_w 159 // 503: aload 13 // 505: invokeinterface 426 3 0 // 510: aload 8 // 512: aload 13 // 514: invokeinterface 418 2 0 // 519: checkcast 180 java/util/Set // 522: astore 15 // 524: aload 15 // 526: aload 15 // 528: invokeinterface 420 1 0 // 533: anewarray 185 org/eclipse/core/resources/IProject // 536: invokeinterface 423 2 0 // 541: checkcast 165 [Lorg/eclipse/core/resources/IProject; // 544: astore 16 // 546: aload 13 // 548: invokestatic 399 org/eclipse/team/core/RepositoryProviderType:getProviderType (Ljava/lang/String;)Lorg/eclipse/team/core/RepositoryProviderType; // 551: astore 17 // 553: aload 17 // 555: invokevirtual 398 org/eclipse/team/core/RepositoryProviderType:getProjectSetCapability ()Lorg/eclipse/team/core/ProjectSetCapability; // 558: astore 18 // 560: aload 17 // 562: aload 18 // 564: invokestatic 393 org/eclipse/team/core/ProjectSetCapability:ensureBackwardsCompatible (Lorg/eclipse/team/core/RepositoryProviderType;Lorg/eclipse/team/core/ProjectSetCapability;)V // 567: aload 18 // 569: ifnull +69 -> 638 // 572: aload 18 // 574: aload 16 // 576: aload 9 // 578: new 189 org/eclipse/core/runtime/SubProgressMonitor // 581: dup // 582: aload_1 // 583: sipush 990 // 586: invokespecial 389 org/eclipse/core/runtime/SubProgressMonitor:<init> (Lorg/eclipse/core/runtime/IProgressMonitor;I)V // 589: invokevirtual 395 org/eclipse/team/core/ProjectSetCapability:asReference ([Lorg/eclipse/core/resources/IProject;Lorg/eclipse/team/core/ProjectSetSerializationContext;Lorg/eclipse/core/runtime/IProgressMonitor;)[Ljava/lang/String; // 592: astore 19 // 594: iconst_0 // 595: istore 20 // 597: goto +33 -> 630 // 600: aload 14 // 602: ldc_w 160 // 605: invokeinterface 427 2 0 // 610: astore 21 // 612: aload 21 // 614: ldc_w 162 // 617: aload 19 // 619: iload 20 // 621: aaload // 622: invokeinterface 426 3 0 // 627: iinc 20 1 // 630: iload 20 // 632: aload 19 // 634: arraylength // 635: if_icmplt -35 -> 600 // 638: aload 12 // 640: invokeinterface 415 1 0 // 645: ifne -168 -> 477 // 648: aload 6 // 650: ifnull +42 -> 692 // 653: iconst_0 // 654: istore 13 // 656: goto +28 -> 684 // 659: aload 11 // 661: ldc_w 164 // 664: invokevirtual 413 org/eclipse/ui/XMLMemento:createChild (Ljava/lang/String;)Lorg/eclipse/ui/IMemento; // 667: astore 14 // 669: aload 6 // 671: iload 13 // 673: aaload // 674: aload 14 // 676: invokeinterface 428 2 0 // 681: iinc 13 1 // 684: iload 13 // 686: aload 6 // 688: arraylength // 689: if_icmplt -30 -> 659 // 692: aload 11 // 694: aload 10 // 696: invokevirtual 412 org/eclipse/ui/XMLMemento:save (Ljava/io/Writer;)V // 699: aload_0 // 700: getfield 363 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:val$result [Z // 703: iconst_0 // 704: iconst_1 // 705: bastore // 706: goto +57 -> 763 // 709: astore 11 // 711: new 176 java/lang/reflect/InvocationTargetException // 714: dup // 715: aload 11 // 717: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 720: athrow // 721: astore 11 // 723: new 176 java/lang/reflect/InvocationTargetException // 726: dup // 727: aload 11 // 729: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 732: athrow // 733: astore 22 // 735: aload 10 // 737: ifnull +23 -> 760 // 740: aload 10 // 742: invokevirtual 365 java/io/BufferedWriter:close ()V // 745: goto +15 -> 760 // 748: astore 23 // 750: new 176 java/lang/reflect/InvocationTargetException // 753: dup // 754: aload 23 // 756: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 759: athrow // 760: aload 22 // 762: athrow // 763: aload 10 // 765: ifnull +23 -> 788 // 768: aload 10 // 770: invokevirtual 365 java/io/BufferedWriter:close ()V // 773: goto +15 -> 788 // 776: astore 23 // 778: new 176 java/lang/reflect/InvocationTargetException // 781: dup // 782: aload 23 // 784: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 787: athrow // 788: aload_0 // 789: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 792: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 795: invokevirtual 401 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:isSaveToFileSystem ()Z // 798: ifne +18 -> 816 // 801: aload_0 // 802: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 805: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 808: aload_1 // 809: invokevirtual 403 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:refreshWorkspaceFile (Lorg/eclipse/core/runtime/IProgressMonitor;)V // 812: goto +4 -> 816 // 815: pop // 816: aload 8 // 818: invokeinterface 417 1 0 // 823: invokeinterface 422 1 0 // 828: astore 11 // 830: goto +58 -> 888 // 833: aload 11 // 835: invokeinterface 416 1 0 // 840: checkcast 174 java/lang/String // 843: astore 12 // 845: aload 12 // 847: invokestatic 399 org/eclipse/team/core/RepositoryProviderType:getProviderType (Ljava/lang/String;)Lorg/eclipse/team/core/RepositoryProviderType; // 850: astore 13 // 852: aload 13 // 854: ifnull +34 -> 888 // 857: aload 13 // 859: invokevirtual 398 org/eclipse/team/core/RepositoryProviderType:getProjectSetCapability ()Lorg/eclipse/team/core/ProjectSetCapability; // 862: astore 14 // 864: aload 14 // 866: ifnull +22 -> 888 // 869: aload 14 // 871: aload 4 // 873: aload 9 // 875: new 189 org/eclipse/core/runtime/SubProgressMonitor // 878: dup // 879: aload_1 // 880: bipush 10 // 882: invokespecial 389 org/eclipse/core/runtime/SubProgressMonitor:<init> (Lorg/eclipse/core/runtime/IProgressMonitor;I)V // 885: invokevirtual 394 org/eclipse/team/core/ProjectSetCapability:projectSetCreated (Ljava/io/File;Lorg/eclipse/team/core/ProjectSetSerializationContext;Lorg/eclipse/core/runtime/IProgressMonitor;)V // 888: aload 11 // 890: invokeinterface 415 1 0 // 895: ifne -62 -> 833 // 898: aload_1 // 899: invokeinterface 424 1 0 // 904: return // Line number table: // Java source line #57 -> byte code offset #0 // Java source line #58 -> byte code offset #11 // Java source line #59 -> byte code offset #20 // Java source line #60 -> byte code offset #27 // Java source line #62 -> byte code offset #47 // Java source line #63 -> byte code offset #54 // Java source line #64 -> byte code offset #64 // Java source line #65 -> byte code offset #71 // Java source line #66 -> byte code offset #84 // Java source line #67 -> byte code offset #102 // Java source line #68 -> byte code offset #107 // Java source line #69 -> byte code offset #114 // Java source line #71 -> byte code offset #115 // Java source line #72 -> byte code offset #122 // Java source line #73 -> byte code offset #127 // Java source line #74 -> byte code offset #143 // Java source line #75 -> byte code offset #150 // Java source line #78 -> byte code offset #151 // Java source line #79 -> byte code offset #167 // Java source line #80 -> byte code offset #185 // Java source line #81 -> byte code offset #190 // Java source line #82 -> byte code offset #197 // Java source line #86 -> byte code offset #198 // Java source line #87 -> byte code offset #204 // Java source line #88 -> byte code offset #220 // Java source line #91 -> byte code offset #232 // Java source line #92 -> byte code offset #244 // Java source line #93 -> byte code offset #253 // Java source line #94 -> byte code offset #259 // Java source line #95 -> byte code offset #266 // Java source line #96 -> byte code offset #273 // Java source line #97 -> byte code offset #278 // Java source line #98 -> byte code offset #285 // Java source line #99 -> byte code offset #299 // Java source line #100 -> byte code offset #304 // Java source line #105 -> byte code offset #321 // Java source line #107 -> byte code offset #333 // Java source line #93 -> byte code offset #343 // Java source line #112 -> byte code offset #354 // Java source line #114 -> byte code offset #371 // Java source line #117 -> byte code offset #374 // Java source line #118 -> byte code offset #387 // Java source line #119 -> byte code offset #404 // Java source line #122 -> byte code offset #431 // Java source line #123 -> byte code offset #437 // Java source line #124 -> byte code offset #451 // Java source line #125 -> byte code offset #474 // Java source line #126 -> byte code offset #477 // Java source line #127 -> byte code offset #489 // Java source line #128 -> byte code offset #498 // Java source line #129 -> byte code offset #510 // Java source line #130 -> byte code offset #524 // Java source line #131 -> byte code offset #546 // Java source line #132 -> byte code offset #553 // Java source line #133 -> byte code offset #560 // Java source line #134 -> byte code offset #567 // Java source line #135 -> byte code offset #572 // Java source line #136 -> byte code offset #594 // Java source line #137 -> byte code offset #600 // Java source line #138 -> byte code offset #612 // Java source line #136 -> byte code offset #627 // Java source line #125 -> byte code offset #638 // Java source line #142 -> byte code offset #648 // Java source line #143 -> byte code offset #653 // Java source line #144 -> byte code offset #659 // Java source line #145 -> byte code offset #669 // Java source line #143 -> byte code offset #681 // Java source line #148 -> byte code offset #692 // Java source line #149 -> byte code offset #699 // Java source line #150 -> byte code offset #709 // Java source line #151 -> byte code offset #711 // Java source line #152 -> byte code offset #721 // Java source line #153 -> byte code offset #723 // Java source line #154 -> byte code offset #733 // Java source line #155 -> byte code offset #735 // Java source line #157 -> byte code offset #740 // Java source line #158 -> byte code offset #748 // Java source line #159 -> byte code offset #750 // Java source line #162 -> byte code offset #760 // Java source line #155 -> byte code offset #763 // Java source line #157 -> byte code offset #768 // Java source line #158 -> byte code offset #776 // Java source line #159 -> byte code offset #778 // Java source line #165 -> byte code offset #788 // Java source line #167 -> byte code offset #801 // Java source line #168 -> byte code offset #815 // Java source line #173 -> byte code offset #816 // Java source line #174 -> byte code offset #833 // Java source line #175 -> byte code offset #845 // Java source line #176 -> byte code offset #852 // Java source line #177 -> byte code offset #857 // Java source line #178 -> byte code offset #864 // Java source line #179 -> byte code offset #869 // Java source line #173 -> byte code offset #888 // Java source line #184 -> byte code offset #898 // Java source line #185 -> byte code offset #904 // Local variable table: // start length slot name signature // 0 905 0 this 1 // 0 905 1 monitor org.eclipse.core.runtime.IProgressMonitor // 10 356 2 filename String // 19 2 3 path org.eclipse.core.runtime.Path // 62 810 4 file java.io.File // 69 47 5 parentFile java.io.File // 100 23 6 r boolean // 183 3 6 r boolean // 202 485 6 workingSets org.eclipse.ui.IWorkingSet[] // 242 107 7 projects org.eclipse.core.resources.IProject[] // 251 566 8 map java.util.Map // 254 93 9 i int // 369 505 9 context org.eclipse.team.internal.ui.UIProjectSetSerializationContext // 264 72 10 project org.eclipse.core.resources.IProject // 372 397 10 writer java.io.BufferedWriter // 271 8 11 provider org.eclipse.team.core.RepositoryProvider // 435 258 11 xmlMemento XMLMemento // 709 7 11 e java.io.IOException // 721 7 11 e org.eclipse.team.core.TeamException // 828 61 11 iter java.util.Iterator // 283 41 12 id String // 449 190 12 it java.util.Iterator // 843 3 12 id String // 297 37 13 list java.util.Set // 487 60 13 id String // 654 31 13 i int // 850 8 13 type org.eclipse.team.core.RepositoryProviderType // 496 105 14 memento org.eclipse.ui.IMemento // 667 8 14 memento org.eclipse.ui.IMemento // 862 8 14 capability org.eclipse.team.core.ProjectSetCapability // 522 5 15 list java.util.Set // 544 31 16 projectArray org.eclipse.core.resources.IProject[] // 551 10 17 providerType org.eclipse.team.core.RepositoryProviderType // 558 15 18 serializer org.eclipse.team.core.ProjectSetCapability // 592 41 19 references String[] // 595 36 20 i int // 610 3 21 proj org.eclipse.ui.IMemento // 733 28 22 localObject Object // 748 7 23 e java.io.IOException // 776 7 23 e java.io.IOException // 815 1 40 localCoreException org.eclipse.core.runtime.CoreException // Exception table: // from to target type // 374 706 709 java/io/IOException // 374 706 721 org/eclipse/team/core/TeamException // 374 733 733 finally // 740 745 748 java/io/IOException // 768 773 776 java/io/IOException // 801 812 815 org/eclipse/core/runtime/CoreException } private XMLMemento getXMLMementoRoot() { try { Document document = DocumentBuilderFactory.newInstance() .newDocumentBuilder().newDocument(); Element element = document.createElement("psf"); element.setAttribute("version", "2.0"); document.appendChild(element); return new XMLMemento(document, element); } catch (ParserConfigurationException e) { throw new Error(e.getMessage()); } } } /* Location: * Qualified Name: org.eclipse.team.internal.ui.wizards.ProjectSetExportWizard.1 * Java Class Version: 1.2 (46.0) * JD-Core Version: 0.7.1 */ package org.eclipse.team.internal.ui.wizards; import java.util.Comparator; import org.eclipse.core.resources.IProject; class ProjectSetExportWizard$2 implements Comparator { final ProjectSetExportWizard.1 this$1; ProjectSetExportWizard$2(ProjectSetExportWizard.1 param1) { this$1 = param1; } public int compare(Object o1, Object o2) { return ((IProject)o1).getName().toLowerCase().compareTo(((IProject)o2).getName().toLowerCase()); } } /* Location: * Qualified Name: org.eclipse.team.internal.ui.wizards.ProjectSetExportWizard.2 * Java Class Version: 1.2 (46.0) * JD-Core Version: 0.7.1 */ package org.eclipse.team.internal.ui.wizards; import java.lang.reflect.InvocationTargetException; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.eclipse.core.resources.IProject; import org.eclipse.jface.dialogs.ErrorDialog; import org.eclipse.jface.operation.IRunnableWithProgress; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.wizard.IWizardContainer; import org.eclipse.jface.wizard.Wizard; import org.eclipse.team.core.TeamException; import org.eclipse.team.internal.ui.TeamUIMessages; import org.eclipse.team.internal.ui.TeamUIPlugin; import org.eclipse.ui.IExportWizard; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.XMLMemento; import org.w3c.dom.Document; import org.w3c.dom.Element; public class ProjectSetExportWizard extends Wizard implements IExportWizard { ExportProjectSetMainPage mainPage; ExportProjectSetLocationPage locationPage; IStructuredSelection selection; public ProjectSetExportWizard() { setNeedsProgressMonitor(true); setWindowTitle(TeamUIMessages.ProjectSetExportWizard_Project_Set_1); } public void addPages() { mainPage = new ExportProjectSetMainPage("projectSetMainPage", TeamUIMessages.ProjectSetExportWizard_Export_a_Project_Set_3, TeamUIPlugin.getImageDescriptor("wizban/export_projectset_wizban.png")); IProject[] projects = (IProject[])selection.toList().toArray(new IProject[0]); addPage(mainPage); mainPage.setSelectedProjects(projects); locationPage = new ExportProjectSetLocationPage("projectSetLocationPage", TeamUIMessages.ProjectSetExportWizard_Export_a_Project_Set_3, TeamUIPlugin.getImageDescriptor("wizban/export_projectset_wizban.png")); addPage(locationPage); } public boolean performFinish() { boolean[] result = new boolean[1]; try { getContainer().run(false, false, new IRunnableWithProgress() { private final boolean[] val$result; /* Error */ public void run(org.eclipse.core.runtime.IProgressMonitor monitor) throws InvocationTargetException { // Byte code: // 0: aload_0 // 1: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 4: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 7: invokevirtual 402 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:getFileName ()Ljava/lang/String; // 10: astore_2 // 11: new 188 org/eclipse/core/runtime/Path // 14: dup // 15: aload_2 // 16: invokespecial 388 org/eclipse/core/runtime/Path:<init> (Ljava/lang/String;)V // 19: astore_3 // 20: aload_3 // 21: invokevirtual 387 org/eclipse/core/runtime/Path:getFileExtension ()Ljava/lang/String; // 24: ifnonnull +23 -> 47 // 27: new 175 java/lang/StringBuffer // 30: dup // 31: aload_2 // 32: invokestatic 376 java/lang/String:valueOf (Ljava/lang/Object;)Ljava/lang/String; // 35: invokespecial 378 java/lang/StringBuffer:<init> (Ljava/lang/String;)V // 38: ldc 1 // 40: invokevirtual 379 java/lang/StringBuffer:append (Ljava/lang/String;)Ljava/lang/StringBuffer; // 43: invokevirtual 377 java/lang/StringBuffer:toString ()Ljava/lang/String; // 46: astore_2 // 47: invokestatic 411 org/eclipse/team/internal/ui/wizards/PsfFilenameStore:getInstance ()Lorg/eclipse/team/internal/ui/wizards/PsfFilenameStore; // 50: aload_2 // 51: invokevirtual 410 org/eclipse/team/internal/ui/wizards/PsfFilenameStore:remember (Ljava/lang/String;)V // 54: new 168 java/io/File // 57: dup // 58: aload_2 // 59: invokespecial 371 java/io/File:<init> (Ljava/lang/String;)V // 62: astore 4 // 64: aload 4 // 66: invokevirtual 370 java/io/File:getParentFile ()Ljava/io/File; // 69: astore 5 // 71: aload 5 // 73: ifnull +78 -> 151 // 76: aload 5 // 78: invokevirtual 367 java/io/File:exists ()Z // 81: ifne +70 -> 151 // 84: aload_0 // 85: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 88: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 91: getstatic 356 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_Question_4 Ljava/lang/String; // 94: getstatic 359 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_Target_directory_does_not_exist__Would_you_like_to_create_it__5 Ljava/lang/String; // 97: invokestatic 391 org/eclipse/jface/dialogs/MessageDialog:openQuestion (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)Z // 100: istore 6 // 102: iload 6 // 104: ifne +11 -> 115 // 107: aload_0 // 108: getfield 363 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:val$result [Z // 111: iconst_0 // 112: iconst_0 // 113: bastore // 114: return // 115: aload 5 // 117: invokevirtual 369 java/io/File:mkdirs ()Z // 120: istore 6 // 122: iload 6 // 124: ifne +27 -> 151 // 127: aload_0 // 128: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 131: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 134: getstatic 355 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_Export_Problems_6 Ljava/lang/String; // 137: getstatic 354 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_An_error_occurred_creating_the_target_directory_7 Ljava/lang/String; // 140: invokestatic 390 org/eclipse/jface/dialogs/MessageDialog:openError (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)V // 143: aload_0 // 144: getfield 363 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:val$result [Z // 147: iconst_0 // 148: iconst_0 // 149: bastore // 150: return // 151: aload 4 // 153: invokevirtual 367 java/io/File:exists ()Z // 156: ifeq +42 -> 198 // 159: aload 4 // 161: invokevirtual 368 java/io/File:isFile ()Z // 164: ifeq +34 -> 198 // 167: aload_0 // 168: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 171: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 174: getstatic 357 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_Question_8 Ljava/lang/String; // 177: getstatic 358 org/eclipse/team/internal/ui/TeamUIMessages:ProjectSetExportWizard_Target_already_exists__Would_you_like_to_overwrite_it__9 Ljava/lang/String; // 180: invokestatic 391 org/eclipse/jface/dialogs/MessageDialog:openQuestion (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)Z // 183: istore 6 // 185: iload 6 // 187: ifne +11 -> 198 // 190: aload_0 // 191: getfield 363 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:val$result [Z // 194: iconst_0 // 195: iconst_0 // 196: bastore // 197: return // 198: aconst_null // 199: checkcast 166 [Lorg/eclipse/ui/IWorkingSet; // 202: astore 6 // 204: aload_0 // 205: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 208: getfield 362 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:mainPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage; // 211: getfield 360 org/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage:exportWorkingSets Lorg/eclipse/swt/widgets/Button; // 214: invokevirtual 392 org/eclipse/swt/widgets/Button:getSelection ()Z // 217: ifeq +15 -> 232 // 220: aload_0 // 221: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 224: getfield 362 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:mainPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage; // 227: invokevirtual 406 org/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage:getSelectedWorkingSets ()[Lorg/eclipse/ui/IWorkingSet; // 230: astore 6 // 232: aload_0 // 233: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 236: getfield 362 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:mainPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage; // 239: invokevirtual 405 org/eclipse/team/internal/ui/wizards/ExportProjectSetMainPage:getSelectedProjects ()[Lorg/eclipse/core/resources/IProject; // 242: astore 7 // 244: new 177 java/util/HashMap // 247: dup // 248: invokespecial 381 java/util/HashMap:<init> ()V // 251: astore 8 // 253: iconst_0 // 254: istore 9 // 256: goto +90 -> 346 // 259: aload 7 // 261: iload 9 // 263: aaload // 264: astore 10 // 266: aload 10 // 268: invokestatic 397 org/eclipse/team/core/RepositoryProvider:getProvider (Lorg/eclipse/core/resources/IProject;)Lorg/eclipse/team/core/RepositoryProvider; // 271: astore 11 // 273: aload 11 // 275: ifnull +68 -> 343 // 278: aload 11 // 280: invokevirtual 396 org/eclipse/team/core/RepositoryProvider:getID ()Ljava/lang/String; // 283: astore 12 // 285: aload 8 // 287: aload 12 // 289: invokeinterface 418 2 0 // 294: checkcast 180 java/util/Set // 297: astore 13 // 299: aload 13 // 301: ifnonnull +32 -> 333 // 304: new 181 java/util/TreeSet // 307: dup // 308: new 203 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$2 // 311: dup // 312: aload_0 // 313: invokespecial 409 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$2:<init> (Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1;)V // 316: invokespecial 382 java/util/TreeSet:<init> (Ljava/util/Comparator;)V // 319: astore 13 // 321: aload 8 // 323: aload 12 // 325: aload 13 // 327: invokeinterface 419 3 0 // 332: pop // 333: aload 13 // 335: aload 10 // 337: invokeinterface 421 2 0 // 342: pop // 343: iinc 9 1 // 346: iload 9 // 348: aload 7 // 350: arraylength // 351: if_icmplt -92 -> 259 // 354: new 198 org/eclipse/team/internal/ui/UIProjectSetSerializationContext // 357: dup // 358: aload_0 // 359: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 362: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 365: aload_2 // 366: invokespecial 400 org/eclipse/team/internal/ui/UIProjectSetSerializationContext:<init> (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;)V // 369: astore 9 // 371: aconst_null // 372: astore 10 // 374: aload_0 // 375: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 378: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 381: invokevirtual 401 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:isSaveToFileSystem ()Z // 384: ifne +20 -> 404 // 387: aload_0 // 388: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 391: getfield 361 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:locationPage Lorg/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage; // 394: aload_0 // 395: getfield 364 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:this$0 Lorg/eclipse/team/internal/ui/wizards/ProjectSetExportWizard; // 398: invokevirtual 407 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard:getShell ()Lorg/eclipse/swt/widgets/Shell; // 401: invokevirtual 404 org/eclipse/team/internal/ui/wizards/ExportProjectSetLocationPage:validateEditWorkspaceFile (Lorg/eclipse/swt/widgets/Shell;)V // 404: new 167 java/io/BufferedWriter // 407: dup // 408: new 171 java/io/OutputStreamWriter // 411: dup // 412: new 169 java/io/FileOutputStream // 415: dup // 416: aload 4 // 418: invokespecial 372 java/io/FileOutputStream:<init> (Ljava/io/File;)V // 421: ldc 2 // 423: invokespecial 373 java/io/OutputStreamWriter:<init> (Ljava/io/OutputStream;Ljava/lang/String;)V // 426: invokespecial 366 java/io/BufferedWriter:<init> (Ljava/io/Writer;)V // 429: astore 10 // 431: aload_0 // 432: invokespecial 408 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:getXMLMementoRoot ()Lorg/eclipse/ui/XMLMemento; // 435: astore 11 // 437: aload 8 // 439: invokeinterface 417 1 0 // 444: invokeinterface 422 1 0 // 449: astore 12 // 451: aload_1 // 452: aconst_null // 453: sipush 1000 // 456: aload 8 // 458: invokeinterface 417 1 0 // 463: invokeinterface 420 1 0 // 468: imul // 469: invokeinterface 425 3 0 // 474: goto +164 -> 638 // 477: aload 12 // 479: invokeinterface 416 1 0 // 484: checkcast 174 java/lang/String // 487: astore 13 // 489: aload 11 // 491: ldc 3 // 493: invokevirtual 413 org/eclipse/ui/XMLMemento:createChild (Ljava/lang/String;)Lorg/eclipse/ui/IMemento; // 496: astore 14 // 498: aload 14 // 500: ldc_w 159 // 503: aload 13 // 505: invokeinterface 426 3 0 // 510: aload 8 // 512: aload 13 // 514: invokeinterface 418 2 0 // 519: checkcast 180 java/util/Set // 522: astore 15 // 524: aload 15 // 526: aload 15 // 528: invokeinterface 420 1 0 // 533: anewarray 185 org/eclipse/core/resources/IProject // 536: invokeinterface 423 2 0 // 541: checkcast 165 [Lorg/eclipse/core/resources/IProject; // 544: astore 16 // 546: aload 13 // 548: invokestatic 399 org/eclipse/team/core/RepositoryProviderType:getProviderType (Ljava/lang/String;)Lorg/eclipse/team/core/RepositoryProviderType; // 551: astore 17 // 553: aload 17 // 555: invokevirtual 398 org/eclipse/team/core/RepositoryProviderType:getProjectSetCapability ()Lorg/eclipse/team/core/ProjectSetCapability; // 558: astore 18 // 560: aload 17 // 562: aload 18 // 564: invokestatic 393 org/eclipse/team/core/ProjectSetCapability:ensureBackwardsCompatible (Lorg/eclipse/team/core/RepositoryProviderType;Lorg/eclipse/team/core/ProjectSetCapability;)V // 567: aload 18 // 569: ifnull +69 -> 638 // 572: aload 18 // 574: aload 16 // 576: aload 9 // 578: new 189 org/eclipse/core/runtime/SubProgressMonitor // 581: dup // 582: aload_1 // 583: sipush 990 // 586: invokespecial 389 org/eclipse/core/runtime/SubProgressMonitor:<init> (Lorg/eclipse/core/runtime/IProgressMonitor;I)V // 589: invokevirtual 395 org/eclipse/team/core/ProjectSetCapability:asReference ([Lorg/eclipse/core/resources/IProject;Lorg/eclipse/team/core/ProjectSetSerializationContext;Lorg/eclipse/core/runtime/IProgressMonitor;)[Ljava/lang/String; // 592: astore 19 // 594: iconst_0 // 595: istore 20 // 597: goto +33 -> 630 // 600: aload 14 // 602: ldc_w 160 // 605: invokeinterface 427 2 0 // 610: astore 21 // 612: aload 21 // 614: ldc_w 162 // 617: aload 19 // 619: iload 20 // 621: aaload // 622: invokeinterface 426 3 0 // 627: iinc 20 1 // 630: iload 20 // 632: aload 19 // 634: arraylength // 635: if_icmplt -35 -> 600 // 638: aload 12 // 640: invokeinterface 415 1 0 // 645: ifne -168 -> 477 // 648: aload 6 // 650: ifnull +42 -> 692 // 653: iconst_0 // 654: istore 13 // 656: goto +28 -> 684 // 659: aload 11 // 661: ldc_w 164 // 664: invokevirtual 413 org/eclipse/ui/XMLMemento:createChild (Ljava/lang/String;)Lorg/eclipse/ui/IMemento; // 667: astore 14 // 669: aload 6 // 671: iload 13 // 673: aaload // 674: aload 14 // 676: invokeinterface 428 2 0 // 681: iinc 13 1 // 684: iload 13 // 686: aload 6 // 688: arraylength // 689: if_icmplt -30 -> 659 // 692: aload 11 // 694: aload 10 // 696: invokevirtual 412 org/eclipse/ui/XMLMemento:save (Ljava/io/Writer;)V // 699: aload_0 // 700: getfield 363 org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard$1:val$result [Z // 703: iconst_0 // 704: iconst_1 // 705: bastore // 706: goto +57 -> 763 // 709: astore 11 // 711: new 176 java/lang/reflect/InvocationTargetException // 714: dup // 715: aload 11 // 717: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 720: athrow // 721: astore 11 // 723: new 176 java/lang/reflect/InvocationTargetException // 726: dup // 727: aload 11 // 729: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 732: athrow // 733: astore 22 // 735: aload 10 // 737: ifnull +23 -> 760 // 740: aload 10 // 742: invokevirtual 365 java/io/BufferedWriter:close ()V // 745: goto +15 -> 760 // 748: astore 23 // 750: new 176 java/lang/reflect/InvocationTargetException // 753: dup // 754: aload 23 // 756: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 759: athrow // 760: aload 22 // 762: athrow // 763: aload 10 // 765: ifnull +23 -> 788 // 768: aload 10 // 770: invokevirtual 365 java/io/BufferedWriter:close ()V // 773: goto +15 -> 788 // 776: astore 23 // 778: new 176 java/lang/reflect/InvocationTargetException // 781: dup // 782: aload 23 // 784: invokespecial 380 java/lang/reflect/InvocationTargetException:<init> (Ljava/lang/Throwable;)V // 787: athrow // 788: aload_0 // 789: getfield 364 org/eclipse/team/internal/ui/wizards/Pr Further reading...For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.New!JAR listings
|