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

ne #2297	-> byte code offset #240
    //   Java source line #2311	-> byte code offset #254
    //   Java source line #2315	-> byte code offset #255
    //   Java source line #2316	-> byte code offset #263
    //   Java source line #2312	-> byte code offset #267
    //   Java source line #2315	-> byte code offset #268
    //   Java source line #2316	-> byte code offset #276
    //   Java source line #2313	-> byte code offset #280
    //   Java source line #2315	-> byte code offset #282
    //   Java source line #2316	-> byte code offset #290
    //   Java source line #2317	-> byte code offset #291
    //   Java source line #2315	-> byte code offset #294
    //   Java source line #2316	-> byte code offset #302
    //   Java source line #2321	-> byte code offset #303
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	305	0	location	String
    //   0	305	1	baseline	IApiBaseline
    //   0	305	2	debug	boolean
    //   7	297	3	excludedElements	FilteredElements
    //   20	28	4	file	File
    //   31	100	5	stream	InputStream
    //   37	120	6	contents	char[]
    //   106	17	7	localObject1	Object
    //   167	128	7	reader	java.io.LineNumberReader
    //   170	77	8	line	String
    //   280	12	9	localObject2	Object
    //   70	1	11	localFileNotFoundException	java.io.FileNotFoundException
    //   84	1	12	localIOException1	IOException
    //   88	1	13	localIOException2	IOException
    //   102	1	14	localIOException3	IOException
    //   121	1	15	localIOException4	IOException
    //   138	1	16	localIOException5	IOException
    //   254	1	17	localIOException6	IOException
    //   263	1	18	localIOException7	IOException
    //   267	1	19	localException	Exception
    //   276	1	20	localIOException8	IOException
    //   290	1	21	localIOException9	IOException
    //   302	1	22	localIOException10	IOException
    // Exception table:
    //   from	to	target	type
    //   39	67	70	java/io/FileNotFoundException
    //   76	81	84	java/io/IOException
    //   39	67	88	java/io/IOException
    //   94	99	102	java/io/IOException
    //   39	71	106	finally
    //   88	89	106	finally
    //   113	118	121	java/io/IOException
    //   130	135	138	java/io/IOException
    //   172	251	254	java/io/IOException
    //   255	260	263	java/io/IOException
    //   172	251	267	java/lang/Exception
    //   268	273	276	java/io/IOException
    //   172	255	280	finally
    //   267	268	280	finally
    //   282	287	290	java/io/IOException
    //   294	299	302	java/io/IOException
  }
  
  public static void collectRegexIds(String line, FilteredElements excludedElements, IApiComponent[] components, boolean debug)
    throws Exception
  {
    if (line.startsWith("R:"))
    {
      String componentname = line;
      
      componentname = componentname.substring(2);
      Pattern pattern = null;
      try
      {
        if (debug) {
          System.out.println("Pattern to match : " + componentname);
        }
        pattern = Pattern.compile(componentname);
        String componentid = null;
        int j = 0;
        for (int max2 = components.length; j < max2; j++)
        {
          componentid = components[j].getSymbolicName();
          if (debug) {
            System.out.println("component id : " + componentid);
          }
          if (pattern.matcher(componentid).matches())
          {
            if (debug) {
              System.out.println(componentid + " matched the pattern " + componentname);
            }
            excludedElements.addPartialMatch(componentid);
          }
          else if (debug)
          {
            System.out.println(componentid + " didn't match the pattern " + componentname);
          }
        }
      }
      catch (PatternSyntaxException localPatternSyntaxException)
      {
        throw new Exception(NLS.bind(
          UtilMessages.comparison_invalidRegularExpression, 
          componentname));
      }
    }
  }
  
  public static final Comparator filesorter = new Comparator()
  {
    public int compare(Object o1, Object o2)
    {
      if (((o1 instanceof File)) && ((o2 instanceof File))) {
        return ((File)o1).getName().compareTo(((File)o2).getName());
      }
      return 0;
    }
  };
  
  public static boolean isAPI(int visibility, IApiType typeDescriptor)
  {
    int access = typeDescriptor.getModifiers();
    return (VisibilityModifiers.isAPI(visibility)) && ((Flags.isPublic(access)) || (Flags.isProtected(access)));
  }
  
  public static String deepToString(Object[] array)
  {
    StringBuffer buffer = new StringBuffer();
    for (int i = 0; i < array.length; i++)
    {
      buffer.append(array[i].toString());
      if (i < array.length - 1) {
        buffer.append(',');
      }
    }
    return buffer.toString();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.pde.api.tools.internal.util.Util
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.pde.api.tools.internal.util;

import org.eclipse.osgi.util.NLS;

public class UtilMessages
  extends NLS
{
  private static final String BUNDLE_NAME = "org.eclipse.pde.api.tools.internal.util.utilmessages";
  public static String Util_0;
  public static String Util_4;
  public static String Util_5;
  public static String Util_6;
  public static String Util_builder_errorMessage;
  public static String comparison_invalidRegularExpression;
  
  static
  {
    NLS.initializeMessages("org.eclipse.pde.api.tools.internal.util.utilmessages", UtilMessages.class);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.pde.api.tools.internal.util.UtilMessages
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
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-2017. Infinite Loop Ltd