org.eclipse.pde.api.tools_1.0.301.v20111129-2053

singBundlesHeader	()Ljava/lang/String;
    //   324: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   327: ldc_w 633
    //   330: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   333: pop
    //   334: aload 8
    //   336: ldc_w 662
    //   339: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   342: pop
    //   343: aload 8
    //   345: ldc_w 678
    //   348: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   351: ldc_w 670
    //   354: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   357: ldc 8
    //   359: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   362: ldc_w 608
    //   365: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   368: ldc_w 646
    //   371: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   374: getstatic 1252	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_required_bundles	Ljava/lang/String;
    //   377: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   380: ldc_w 625
    //   383: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   386: ldc_w 636
    //   389: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   392: ldc_w 638
    //   395: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   398: pop
    //   399: aconst_null
    //   400: astore 9
    //   402: aload 7
    //   404: invokevirtual 1364	java/util/TreeSet:iterator	()Ljava/util/Iterator;
    //   407: astore 10
    //   409: goto +47 -> 456
    //   412: aload 10
    //   414: invokeinterface 1478 1 0
    //   419: checkcast 720	java/lang/String
    //   422: astore 9
    //   424: aload 8
    //   426: ldc_w 678
    //   429: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   432: ldc_w 674
    //   435: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   438: aload 9
    //   440: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   443: ldc_w 636
    //   446: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   449: ldc_w 638
    //   452: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   455: pop
    //   456: aload 10
    //   458: invokeinterface 1477 1 0
    //   463: ifne -51 -> 412
    //   466: aload 8
    //   468: ldc_w 635
    //   471: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   474: pop
    //   475: aload 8
    //   477: ldc_w 648
    //   480: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   483: ldc_w 644
    //   486: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   489: getstatic 1199	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_back_to_not_searched	Ljava/lang/String;
    //   492: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   495: ldc_w 623
    //   498: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   501: pop
    //   502: aload 8
    //   504: ldc_w 658
    //   507: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   510: pop
    //   511: new 712	java/io/PrintWriter
    //   514: dup
    //   515: new 710	java/io/OutputStreamWriter
    //   518: dup
    //   519: new 708	java/io/FileOutputStream
    //   522: dup
    //   523: aload_3
    //   524: invokespecial 1315	java/io/FileOutputStream:<init>	(Ljava/io/File;)V
    //   527: ldc_w 682
    //   530: invokespecial 1316	java/io/OutputStreamWriter:<init>	(Ljava/io/OutputStream;Ljava/lang/String;)V
    //   533: invokespecial 1320	java/io/PrintWriter:<init>	(Ljava/io/Writer;)V
    //   536: astore 4
    //   538: aload 4
    //   540: aload 8
    //   542: invokevirtual 1343	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   545: invokevirtual 1322	java/io/PrintWriter:println	(Ljava/lang/String;)V
    //   548: aload 4
    //   550: invokevirtual 1319	java/io/PrintWriter:flush	()V
    //   553: goto +37 -> 590
    //   556: pop
    //   557: new 715	java/lang/Exception
    //   560: dup
    //   561: getstatic 1273	org/eclipse/pde/api/tools/internal/search/SearchMessages:ioexception_writing_html_file	Ljava/lang/String;
    //   564: aload_3
    //   565: invokevirtual 1310	java/io/File:getAbsolutePath	()Ljava/lang/String;
    //   568: invokestatic 1383	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   571: invokespecial 1325	java/lang/Exception:<init>	(Ljava/lang/String;)V
    //   574: athrow
    //   575: astore 11
    //   577: aload 4
    //   579: ifnull +8 -> 587
    //   582: aload 4
    //   584: invokevirtual 1318	java/io/PrintWriter:close	()V
    //   587: aload 11
    //   589: athrow
    //   590: aload 4
    //   592: ifnull +8 -> 600
    //   595: aload 4
    //   597: invokevirtual 1318	java/io/PrintWriter:close	()V
    //   600: iload_2
    //   601: ireturn
    // Line number table:
    //   Java source line #1006	-> byte code offset #0
    //   Java source line #1007	-> byte code offset #2
    //   Java source line #1008	-> byte code offset #4
    //   Java source line #1010	-> byte code offset #7
    //   Java source line #1011	-> byte code offset #12
    //   Java source line #1012	-> byte code offset #42
    //   Java source line #1013	-> byte code offset #49
    //   Java source line #1016	-> byte code offset #54
    //   Java source line #1017	-> byte code offset #70
    //   Java source line #1019	-> byte code offset #78
    //   Java source line #1021	-> byte code offset #119
    //   Java source line #1022	-> byte code offset #131
    //   Java source line #1023	-> byte code offset #139
    //   Java source line #1024	-> byte code offset #147
    //   Java source line #1025	-> byte code offset #159
    //   Java source line #1026	-> byte code offset #165
    //   Java source line #1025	-> byte code offset #176
    //   Java source line #1029	-> byte code offset #187
    //   Java source line #1030	-> byte code offset #196
    //   Java source line #1031	-> byte code offset #205
    //   Java source line #1032	-> byte code offset #226
    //   Java source line #1033	-> byte code offset #247
    //   Java source line #1034	-> byte code offset #256
    //   Java source line #1035	-> byte code offset #265
    //   Java source line #1037	-> byte code offset #286
    //   Java source line #1038	-> byte code offset #294
    //   Java source line #1041	-> byte code offset #312
    //   Java source line #1042	-> byte code offset #334
    //   Java source line #1043	-> byte code offset #343
    //   Java source line #1045	-> byte code offset #399
    //   Java source line #1046	-> byte code offset #402
    //   Java source line #1047	-> byte code offset #412
    //   Java source line #1048	-> byte code offset #424
    //   Java source line #1046	-> byte code offset #456
    //   Java source line #1050	-> byte code offset #466
    //   Java source line #1051	-> byte code offset #475
    //   Java source line #1052	-> byte code offset #502
    //   Java source line #1055	-> byte code offset #511
    //   Java source line #1056	-> byte code offset #538
    //   Java source line #1057	-> byte code offset #548
    //   Java source line #1059	-> byte code offset #556
    //   Java source line #1060	-> byte code offset #557
    //   Java source line #1062	-> byte code offset #575
    //   Java source line #1063	-> byte code offset #577
    //   Java source line #1064	-> byte code offset #582
    //   Java source line #1066	-> byte code offset #587
    //   Java source line #1063	-> byte code offset #590
    //   Java source line #1064	-> byte code offset #595
    //   Java source line #1067	-> byte code offset #600
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	602	0	this	UseReportConverter
    //   0	602	1	htmlroot	File
    //   1	600	2	hasMissing	boolean
    //   3	562	3	missing	File
    //   5	591	4	writer	PrintWriter
    //   10	12	5	filename	String
    //   68	73	6	file	File
    //   129	274	7	sorted	java.util.TreeSet
    //   145	37	8	missingBundles	String[]
    //   194	347	8	buffer	StringBuffer
    //   160	20	9	i	int
    //   400	39	9	value	String
    //   407	50	10	iter	Iterator
    //   575	13	11	localObject	Object
    //   556	1	14	localIOException	IOException
    // Exception table:
    //   from	to	target	type
    //   7	553	556	java/io/IOException
    //   7	575	575	finally
  }
  
  void writeNotSearchedPage(File htmlroot)
    throws Exception
  {
    File originhtml = null;
    try
    {
      String filename = "not_searched";
      originhtml = new File(htmlroot, filename + ".html");
      if (!originhtml.exists()) {
        originhtml.createNewFile();
      }
      File xml = new File(getReportsRoot(), filename + ".xml");
      if (!xml.exists()) {
        xml = new File(getReportsRoot() + File.separator + "xml", filename + ".xml");
      }
      InputStream defaultXsltInputStream = UseReportConverter.class.getResourceAsStream(getNotSearchedXSLPath());
      Source xslt = null;
      if (defaultXsltInputStream != null) {
        xslt = new StreamSource(new BufferedInputStream(defaultXsltInputStream));
      }
      if (xslt == null) {
        throw new Exception(SearchMessages.UseReportConverter_no_xstl_specified);
      }
      if (xml.exists()) {
        applyXSLT(xslt, xml, originhtml);
      }
    }
    catch (IOException localIOException)
    {
      throw new Exception(NLS.bind(SearchMessages.ioexception_writing_html_file, originhtml.getAbsolutePath()));
    }
    catch (TransformerException te)
    {
      throw new Exception(SearchMessages.UseReportConverter_te_applying_xslt_skipped, te);
    }
    catch (CoreException localCoreException)
    {
      throw new Exception(NLS.bind(SearchMessages.UseReportConverter_coreexception_writing_html_file, originhtml.getAbsolutePath()));
    }
  }
  
  String getNotSearchedXSLPath()
  {
    return "/notsearched.xsl";
  }
  
  /* Error */
  protected void writeReferencedMemberPage(Report report, List referees)
    throws Exception
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore_3
    //   2: aconst_null
    //   3: astore 4
    //   5: new 707	java/io/File
    //   8: dup
    //   9: aload_0
    //   10: invokevirtual 1420	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getHtmlLocation	()Ljava/lang/String;
    //   13: aload_1
    //   14: getfield 1295	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Report:name	Ljava/lang/String;
    //   17: invokespecial 1314	java/io/File:<init>	(Ljava/lang/String;Ljava/lang/String;)V
    //   20: astore 5
    //   22: aload 5
    //   24: invokevirtual 1306	java/io/File:exists	()Z
    //   27: ifne +9 -> 36
    //   30: aload 5
    //   32: invokevirtual 1309	java/io/File:mkdirs	()Z
    //   35: pop
    //   36: new 707	java/io/File
    //   39: dup
    //   40: aload 5
    //   42: ldc_w 689
    //   45: invokespecial 1313	java/io/File:<init>	(Ljava/io/File;Ljava/lang/String;)V
    //   48: astore 4
    //   50: aload 4
    //   52: invokevirtual 1306	java/io/File:exists	()Z
    //   55: ifne +9 -> 64
    //   58: aload 4
    //   60: invokevirtual 1305	java/io/File:createNewFile	()Z
    //   63: pop
    //   64: new 721	java/lang/StringBuffer
    //   67: dup
    //   68: invokespecial 1341	java/lang/StringBuffer:<init>	()V
    //   71: astore 6
    //   73: aload 6
    //   75: ldc_w 621
    //   78: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   81: pop
    //   82: aload 6
    //   84: ldc_w 654
    //   87: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   90: ldc_w 653
    //   93: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   96: ldc_w 655
    //   99: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   102: pop
    //   103: aload 6
    //   105: getstatic 1281	org/eclipse/pde/api/tools/internal/search/UseReportConverter:REF_STYLE	Ljava/lang/String;
    //   108: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   111: pop
    //   112: aload 6
    //   114: getstatic 1280	org/eclipse/pde/api/tools/internal/search/UseReportConverter:REF_SCRIPT	Ljava/lang/String;
    //   117: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   120: pop
    //   121: aload 6
    //   123: ldc_w 675
    //   126: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   129: aload_0
    //   130: aload_1
    //   131: getfield 1295	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Report:name	Ljava/lang/String;
    //   134: invokevirtual 1439	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getReferencedTypeTitle	(Ljava/lang/String;)Ljava/lang/String;
    //   137: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   140: ldc_w 637
    //   143: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   146: pop
    //   147: aload 6
    //   149: ldc_w 631
    //   152: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   155: pop
    //   156: aload 6
    //   158: ldc_w 647
    //   161: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   164: pop
    //   165: aload 6
    //   167: ldc_w 651
    //   170: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   173: aload_0
    //   174: aload_1
    //   175: getfield 1295	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Report:name	Ljava/lang/String;
    //   178: invokevirtual 1439	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getReferencedTypeTitle	(Ljava/lang/String;)Ljava/lang/String;
    //   181: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   184: ldc_w 629
    //   187: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   190: pop
    //   191: aload 6
    //   193: ldc_w 657
    //   196: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   199: getstatic 1224	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_list_of_all_refing_bundles	Ljava/lang/String;
    //   202: iconst_2
    //   203: anewarray 720	java/lang/String
    //   206: dup
    //   207: iconst_0
    //   208: ldc_w 639
    //   211: aastore
    //   212: dup
    //   213: iconst_1
    //   214: ldc_w 622
    //   217: aastore
    //   218: invokestatic 1384	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   221: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   224: ldc_w 633
    //   227: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   230: pop
    //   231: aload_0
    //   232: invokevirtual 1418	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getAdditionalReferencedTypeInformation	()Ljava/lang/String;
    //   235: astore 7
    //   237: aload 7
    //   239: ifnull +11 -> 250
    //   242: aload 6
    //   244: aload 7
    //   246: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   249: pop
    //   250: aload 6
    //   252: aload_0
    //   253: getstatic 1248	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_references	Ljava/lang/String;
    //   256: getstatic 1247	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_referenced_type	Ljava/lang/String;
    //   259: iconst_0
    //   260: invokevirtual 1450	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getReferencesTableHeader	(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
    //   263: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   266: pop
    //   267: aconst_null
    //   268: astore 8
    //   270: aconst_null
    //   271: astore 9
    //   273: aconst_null
    //   274: astore 10
    //   276: aconst_null
    //   277: astore 11
    //   279: aconst_null
    //   280: astore 12
    //   282: aconst_null
    //   283: astore 13
    //   285: aload_1
    //   286: getfield 1296	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Report:children	Ljava/util/TreeMap;
    //   289: invokevirtual 1360	java/util/TreeMap:entrySet	()Ljava/util/Set;
    //   292: invokeinterface 1487 1 0
    //   297: astore 14
    //   299: goto +147 -> 446
    //   302: aload 14
    //   304: invokeinterface 1478 1 0
    //   309: checkcast 729	java/util/Map$Entry
    //   312: astore 10
    //   314: aload 10
    //   316: invokeinterface 1486 1 0
    //   321: checkcast 731	java/util/TreeMap
    //   324: astore 12
    //   326: aload 10
    //   328: invokeinterface 1485 1 0
    //   333: checkcast 767	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type
    //   336: astore 13
    //   338: aload 13
    //   340: getfield 1299	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type:counts	Lorg/eclipse/pde/api/tools/internal/search/UseReportConverter$CountGroup;
    //   343: astore 8
    //   345: aload 13
    //   347: getfield 1298	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type:desc	Lorg/eclipse/pde/api/tools/internal/provisional/descriptors/IElementDescriptor;
    //   350: checkcast 755	org/eclipse/pde/api/tools/internal/provisional/descriptors/IReferenceTypeDescriptor
    //   353: invokestatic 1470	org/eclipse/pde/api/tools/internal/util/Signatures:getQualifiedTypeSignature	(Lorg/eclipse/pde/api/tools/internal/provisional/descriptors/IReferenceTypeDescriptor;)Ljava/lang/String;
    //   356: astore 15
    //   358: new 707	java/io/File
    //   361: dup
    //   362: aload 5
    //   364: new 721	java/lang/StringBuffer
    //   367: dup
    //   368: aload 15
    //   370: invokestatic 1340	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   373: invokespecial 1344	java/lang/StringBuffer:<init>	(Ljava/lang/String;)V
    //   376: ldc_w 618
    //   379: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   382: invokevirtual 1343	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   385: invokespecial 1313	java/io/File:<init>	(Ljava/io/File;Ljava/lang/String;)V
    //   388: astore 11
    //   390: aload 11
    //   392: invokevirtual 1306	java/io/File:exists	()Z
    //   395: ifne +9 -> 404
    //   398: aload 11
    //   400: invokevirtual 1305	java/io/File:createNewFile	()Z
    //   403: pop
    //   404: aload_0
    //   405: aload 5
    //   407: aload 11
    //   409: invokevirtual 1310	java/io/File:getAbsolutePath	()Ljava/lang/String;
    //   412: invokevirtual 1449	org/eclipse/pde/api/tools/internal/search/UseReportConverter:extractLinkFrom	(Ljava/io/File;Ljava/lang/String;)Ljava/lang/String;
    //   415: astore 9
    //   417: aload 6
    //   419: aload_0
    //   420: aload 8
    //   422: aload 9
    //   424: aload 15
    //   426: iconst_0
    //   427: invokevirtual 1454	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getReferenceTableEntry	(Lorg/eclipse/pde/api/tools/internal/search/UseReportConverter$CountGroup;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
    //   430: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   433: pop
    //   434: aload_0
    //   435: aload 12
    //   437: aload 13
    //   439: aload 11
    //   441: aload 15
    //   443: invokevirtual 1453	org/eclipse/pde/api/tools/internal/search/UseReportConverter:writeTypePage	(Ljava/util/Map;Lorg/eclipse/pde/api/tools/internal/search/UseReportConverter$Type;Ljava/io/File;Ljava/lang/String;)V
    //   446: aload 14
    //   448: invokeinterface 1477 1 0
    //   453: ifne -151 -> 302
    //   456: aload 6
    //   458: ldc_w 635
    //   461: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   464: pop
    //   465: aload 6
    //   467: ldc_w 648
    //   470: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   473: pop
    //   474: aload 6
    //   476: ldc_w 652
    //   479: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   482: getstatic 1249	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_referencing_bundles	Ljava/lang/String;
    //   485: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   488: ldc_w 630
    //   491: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   494: pop
    //   495: aload 6
    //   497: ldc_w 657
    //   500: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   503: getstatic 1210	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_following_bundles_have_refs	Ljava/lang/String;
    //   506: aload_1
    //   507: getfield 1295	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Report:name	Ljava/lang/String;
    //   510: invokestatic 1383	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   513: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   516: ldc_w 633
    //   519: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   522: pop
    //   523: aload 6
    //   525: ldc_w 645
    //   528: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   531: ldc_w 623
    //   534: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   537: pop
    //   538: aload 6
    //   540: ldc_w 663
    //   543: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   546: pop
    //   547: aload 6
    //   549: ldc_w 678
    //   552: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   555: pop
    //   556: aload 6
    //   558: ldc_w 594
    //   561: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   564: ldc 8
    //   566: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   569: ldc_w 609
    //   572: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   575: ldc_w 646
    //   578: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   581: getstatic 1201	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_bundle	Ljava/lang/String;
    //   584: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   587: ldc_w 625
    //   590: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   593: ldc_w 636
    //   596: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   599: pop
    //   600: aload 6
    //   602: ldc_w 594
    //   605: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   608: ldc 8
    //   610: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   613: ldc_w 606
    //   616: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   619: ldc_w 646
    //   622: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   625: getstatic 1264	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_version	Ljava/lang/String;
    //   628: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   631: ldc_w 625
    //   634: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   637: ldc_w 636
    //   640: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   643: pop
    //   644: aload 6
    //   646: ldc_w 594
    //   649: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   652: ldc 8
    //   654: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   657: ldc_w 605
    //   660: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   663: ldc_w 646
    //   666: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   669: getstatic 1242	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_reference_count	Ljava/lang/String;
    //   672: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   675: ldc_w 625
    //   678: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   681: ldc_w 636
    //   684: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   687: pop
    //   688: aload 6
    //   690: ldc_w 638
    //   693: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   696: pop
    //   697: aload_2
    //   698: getstatic 1284	org/eclipse/pde/api/tools/internal/search/UseReportConverter:compare	Ljava/util/Comparator;
    //   701: invokestatic 1359	java/util/Collections:sort	(Ljava/util/List;Ljava/util/Comparator;)V
    //   704: aconst_null
    //   705: astore 14
    //   707: iconst_0
    //   708: istore 15
    //   710: goto +162 -> 872
    //   713: aload_2
    //   714: iload 15
    //   716: invokeinterface 1480 2 0
    //   721: checkcast 767	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type
    //   724: astore 13
    //   726: aload 13
    //   728: getfield 1298	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type:desc	Lorg/eclipse/pde/api/tools/internal/provisional/descriptors/IElementDescriptor;
    //   731: checkcast 751	org/eclipse/pde/api/tools/internal/provisional/descriptors/IComponentDescriptor
    //   734: astore 14
    //   736: aload 6
    //   738: ldc_w 677
    //   741: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   744: aload_0
    //   745: aload 8
    //   747: invokevirtual 1443	org/eclipse/pde/api/tools/internal/search/UseReportConverter:getRowColour	(Lorg/eclipse/pde/api/tools/internal/search/UseReportConverter$CountGroup;)Ljava/lang/String;
    //   750: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   753: ldc_w 612
    //   756: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   759: pop
    //   760: aload 6
    //   762: ldc_w 591
    //   765: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   768: ldc_w 674
    //   771: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   774: ldc_w 646
    //   777: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   780: aload 14
    //   782: invokeinterface 1494 1 0
    //   787: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   790: ldc_w 625
    //   793: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   796: ldc_w 636
    //   799: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   802: pop
    //   803: aload 6
    //   805: ldc_w 591
    //   808: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   811: ldc_w 674
    //   814: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   817: aload 14
    //   819: invokeinterface 1495 1 0
    //   824: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   827: ldc_w 636
    //   830: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   833: pop
    //   834: aload 6
    //   836: ldc_w 592
    //   839: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   842: aload 13
    //   844: getfield 1299	org/eclipse/pde/api/tools/internal/search/UseReportConverter$Type:counts	Lorg/eclipse/pde/api/tools/internal/search/UseReportConverter$CountGroup;
    //   847: invokevirtual 1462	org/eclipse/pde/api/tools/internal/search/UseReportConverter$CountGroup:getTotalRefCount	()I
    //   850: invokevirtual 1346	java/lang/StringBuffer:append	(I)Ljava/lang/StringBuffer;
    //   853: ldc_w 636
    //   856: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   859: pop
    //   860: aload 6
    //   862: ldc_w 638
    //   865: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   868: pop
    //   869: iinc 15 1
    //   872: iload 15
    //   874: aload_2
    //   875: invokeinterface 1479 1 0
    //   880: if_icmplt -167 -> 713
    //   883: aload 6
    //   885: ldc_w 635
    //   888: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   891: pop
    //   892: aload 6
    //   894: ldc_w 657
    //   897: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   900: ldc_w 640
    //   903: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   906: getstatic 1198	org/eclipse/pde/api/tools/internal/search/SearchMessages:UseReportConverter_back_to_bundle_index	Ljava/lang/String;
    //   909: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   912: ldc_w 623
    //   915: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   918: ldc_w 633
    //   921: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   924: pop
    //   925: aload 6
    //   927: ldc_w 658
    //   930: invokevirtual 1350	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   933: pop
    //   934: new 712	java/io/PrintWriter
    //   937: dup
    //   938: new 710	java/io/OutputStreamWriter
    //   941: dup
    //   942: new 708	java/io/FileOutputStream
    //   945: dup
    //   946: aload 4
    //   948: invokespecial 1315	java/io/FileOutputStream:<init>	(Ljava/io/File;)V
    //   951: ldc_w 682
    //   954: invokespecial 1316	java/io/OutputStreamWriter:<init>	(Ljava/io/OutputStream;Ljava/lang/String;)V
    //   957: invokespecial 1320	java/io/PrintWriter:<init>	(Ljava/io/Writer;)V
    //   960: astore_3
    //   961: aload_3
    //   962: aload 6
    //   964: invokevirtual 1343	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   967: invokevirtual 1322	java/io/PrintWriter:println	(Ljava/lang/String;)V
    //   970: aload_3
    //   971: invokevirtual 1319	java/io/PrintWriter:flush	()V
    //   974: goto +36 -> 1010
    //   977: pop
    //   978: new 715	java/lang/Exception
    //   981: dup
    //   982: getstatic 1273	org/eclipse/pde/api/tools/internal/search/SearchMessages:ioexception_writing_html_file	Ljava/lang/String;
    //   985: aload 4
    //   987: invokevirtual 1310	java/io/File:getAbsolutePath	()Ljava/lang/String;
    //   990: invokestatic 1383	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   993: invokespecial 1325	java/lang/Exception:<init>	(Ljava/lang/String;)V
    //   996: athrow
    //   997: astore 16
    //   999: aload_3
    //   1000: ifnull +7 -> 1007
    //   1003: aload_3
    //   1004: invokevirtual 1318	java/io/PrintWriter:close	()V
    //   1007: aload 16
    //   1009: athrow
    //   1010: aload_3
    //   1011: ifnull +7 -> 1018
    //   1014: aload_3
    //   1015: invokevirtual 1318	java/io/PrintWriter:close	()V
    //   1018: return
    // Line number table:
    //   Java source line #1127	-> byte code offset #0
    //   Java source line #1128	-> byte code offset #2
    //   Java source line #1130	-> byte code offset #5
    //   Java source line #1131	-> byte code offset #22
    //   Java source line #1132	-> byte code offset #30
    //   Java source line #1134	-> byte code offset #36
    //   Java source line #1135	-> byte code offset #50
    //   Java source line #1136	-> byte code offset #58
    //   Java source line #1138	-> byte code offset #64
    //   Java source line #1139	-> byte code offset #73
    //   Java source line #1140	-> byte code offset #82
    //   Java source line #1141	-> byte code offset #103
    //   Java source line #1142	-> byte code offset #112
    //   Java source line #1143	-> byte code offset #121
    //   Java source line #1144	-> byte code offset #147
    //   Java source line #1145	-> byte code offset #156
    //   Java source line #1146	-> byte code offset #165
    //   Java source line #1147	-> byte code offset #191
    //   Java source line #1148	-> byte code offset #231
    //   Java source line #1149	-> byte code offset #237
    //   Java source line #1150	-> byte code offset #242
    //   Java source line #1152	-> byte code offset #250
    //   Java source line #1153	-> byte code offset #267
    //   Java source line #1154	-> byte code offset #270
    //   Java source line #1155	-> byte code offset #273
    //   Java source line #1156	-> byte code offset #276
    //   Java source line #1157	-> byte code offset #279
    //   Java source line #1158	-> byte code offset #282
    //   Java source line #1159	-> byte code offset #285
    //   Java source line #1160	-> byte code offset #302
    //   Java source line #1161	-> byte code offset #314
    //   Java source line #1162	-> byte code offset #326
    //   Java source line #1163	-> byte code offset #338
    //   Java source line #1165	-> byte code offset #345
    //   Java source line #1166	-> byte code offset #358
    //   Java source line #1167	-> byte code offset #390
    //   Java source line #1168	-> byte code offset #398
    //   Java source line #1170	-> byte code offset #404
    //   Java source line #1171	-> byte code offset #417
    //   Java source line #1172	-> byte code offset #434
    //   Java source line #1159	-> byte code offset #446
    //   Java source line #1174	-> byte code offset #456
    //   Java source line #1175	-> byte code offset #465
    //   Java source line #1176	-> byte code offset #474
    //   Java source line #1177	-> byte code offset #495
    //   Java source line #1178	-> byte code offset #523
    //   Java source line #1179	-> byte code offset #538
    //   Java source line #1180	-> byte code offset #547
    //   Java source line #1181	-> byte code offset #556
    //   Java source line #1182	-> byte code offset #600
    //   Java source line #1183	-> byte code offset #644
    //   Java source line #1184	-> byte code offset #688
    //   Java source line #1185	-> byte code offset #697
    //   Java source line #1186	-> byte code offset #704
    //   Java source line #1187	-> byte code offset #707
    //   Java source line #1188	-> byte code offset #713
    //   Java source line #1189	-> byte code offset #726
    //   Java source line #1190	-> byte code offset #736
    //   Java source line #1191	-> byte code offset #760
    //   Java source line #1192	-> byte code offset #803
    //   Java source line #1193	-> byte code offset #834
    //   Java source line #1194	-> byte code offset #860
    //   Java source line #1187	-> byte code offset #869
    //   Java source line #1196	-> byte code offset #883
    //   Java source line #1197	-> byte code offset #892
    //   Java source line #1198	-> byte code offset #925
    //   Java source line #1200	-> byte code offset #934
    //   Java source line #1201	-> byte code offset #961
    //   Java source line #1202	-> byte code offset #970
    //   Java source line #1204	-> byte code offset #977
    //   Java source line #1205	-> byte code offset #978
    //   Java source line #1207	-> byte code offset #997
    //   Java source line #1208	-> byte code offset #999
    //   Java source line #1209	-> byte code offset #1003
    //   Java source line #1211	-> byte code offset #1007
    //   Java source line #1208	-> byte code offset #1010
    //   Java source line #1209	-> byte code offset #1014
    //   Java source line #1212	-> byte code offset #1018
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	1019	0	this	UseReportConverter
    //   0	1019	1	report	Report
    //   0	1019	2	referees	List
    //   1	1014	3	writer	PrintWriter
    //   3	983	4	originhtml	File
    //   20	386	5	htmlroot	File
    //   71	892	6	buffer	StringBuffer
    //   235	10	7	additional	String
    //   268	478	8	counts	CountGroup
    //   271	152	9	link	String
    //   274	53	10	entry	Map.Entry
    //   277	163	11	typefile	File
    //   280	156	12	map	TreeMap
    //   283	560	13	type	Type
    //   297	150	14	iter	Iterator
    //   705	113	14	comp	IComponentDescriptor
    //   356	86	15	fqname	String
    //   708	165	15	i	int
    //   997	11	16	localObject	Object
    //   977	1	19	localIOException	IOException
    // Exception table:
    //   from	to	target	type
    //   5	974	977	java/io/IOException
    //   5	997	997	finally
  }
  
  String getRowColour(CountGroup counts)
  {
    if (counts.getTotalInternalRefCount() > 0) {
      return "#F2C3C3";
    }
    if (counts.getTotalIllegalRefCount() > 0) {
      return "#E0E0E0";
    }
    return "#FFFFFF";
  }
  
  protected String getAdditionalReferencedTypeInformation()
  {
    return null;
  }
  
  protected String getReferencedTypeTitle(String bundle)
  {
    return NLS.bind(SearchMessages.UseReportConverter_types_used_in, bundle);
  }
  
  /* Error */
  void writeTypePage(java.util.Map map, Type type, File typefile, String typename)
    throws Exception
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore 5
    //   3: new 721	j
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

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


Copyright 2006-2019. Infinite Loop Ltd