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

//   30: dup
    //   31: invokespecial 677	org/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor:<init>	()V
    //   34: putfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   37: aload_0
    //   38: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   41: iconst_1
    //   42: invokestatic 668	org/eclipse/jdt/core/JavaCore:addElementChangedListener	(Lorg/eclipse/jdt/core/IElementChangedListener;I)V
    //   45: invokestatic 660	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   48: aload_0
    //   49: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   52: bipush 14
    //   54: invokeinterface 708 3 0
    //   59: aload_0
    //   60: invokevirtual 687	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:configurePluginDebugOptions	()V
    //   63: aload_2
    //   64: athrow
    //   65: invokestatic 660	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   68: ldc 4
    //   70: aload_0
    //   71: invokeinterface 709 3 0
    //   76: pop
    //   77: aload_0
    //   78: aload_1
    //   79: putfield 571	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:fBundleContext	Lorg/osgi/framework/BundleContext;
    //   82: aload_0
    //   83: new 346	org/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor
    //   86: dup
    //   87: invokespecial 677	org/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor:<init>	()V
    //   90: putfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   93: aload_0
    //   94: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   97: iconst_1
    //   98: invokestatic 668	org/eclipse/jdt/core/JavaCore:addElementChangedListener	(Lorg/eclipse/jdt/core/IElementChangedListener;I)V
    //   101: invokestatic 660	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   104: aload_0
    //   105: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   108: bipush 14
    //   110: invokeinterface 708 3 0
    //   115: aload_0
    //   116: invokevirtual 687	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:configurePluginDebugOptions	()V
    //   119: return
    // Line number table:
    //   Java source line #491	-> byte code offset #0
    //   Java source line #492	-> byte code offset #8
    //   Java source line #493	-> byte code offset #9
    //   Java source line #494	-> byte code offset #21
    //   Java source line #495	-> byte code offset #26
    //   Java source line #496	-> byte code offset #37
    //   Java source line #497	-> byte code offset #45
    //   Java source line #498	-> byte code offset #59
    //   Java source line #499	-> byte code offset #63
    //   Java source line #493	-> byte code offset #65
    //   Java source line #494	-> byte code offset #77
    //   Java source line #495	-> byte code offset #82
    //   Java source line #496	-> byte code offset #93
    //   Java source line #497	-> byte code offset #101
    //   Java source line #498	-> byte code offset #115
    //   Java source line #500	-> byte code offset #119
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	120	0	this	ApiPlugin
    //   0	120	1	context	BundleContext
    //   8	56	2	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   0	8	8	finally
  }
  
  /* Error */
  public void stop(BundleContext context)
    throws java.lang.Exception
  {
    // Byte code:
    //   0: invokestatic 673	org/eclipse/pde/api/tools/internal/ApiDescriptionManager:shutdown	()V
    //   3: invokestatic 671	org/eclipse/pde/api/tools/internal/ApiBaselineManager:getManager	()Lorg/eclipse/pde/api/tools/internal/ApiBaselineManager;
    //   6: invokevirtual 669	org/eclipse/pde/api/tools/internal/ApiBaselineManager:stop	()V
    //   9: invokestatic 660	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   12: ldc 4
    //   14: invokeinterface 706 2 0
    //   19: invokestatic 699	org/eclipse/pde/api/tools/internal/util/FileManager:getManager	()Lorg/eclipse/pde/api/tools/internal/util/FileManager;
    //   22: invokevirtual 698	org/eclipse/pde/api/tools/internal/util/FileManager:deleteFiles	()Z
    //   25: pop
    //   26: aload_0
    //   27: aconst_null
    //   28: putfield 571	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:fBundleContext	Lorg/osgi/framework/BundleContext;
    //   31: aload_0
    //   32: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   35: ifnull +33 -> 68
    //   38: aload_0
    //   39: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   42: invokestatic 667	org/eclipse/jdt/core/JavaCore:removeElementChangedListener	(Lorg/eclipse/jdt/core/IElementChangedListener;)V
    //   45: invokestatic 660	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   48: aload_0
    //   49: getfield 568	org/eclipse/pde/api/tools/internal/provisional/ApiPlugin:deltaProcessor	Lorg/eclipse/pde/api/tools/internal/WorkspaceDeltaProcessor;
    //   52: invokeinterface 707 2 0
    //   57: goto +11 -> 68
    //   60: astore_2
    //   61: aload_0
    //   62: aload_1
    //   63: invokespecial 665	org/eclipse/core/runtime/Plugin:stop	(Lorg/osgi/framework/BundleContext;)V
    //   66: aload_2
    //   67: athrow
    //   68: aload_0
    //   69: aload_1
    //   70: invokespecial 665	org/eclipse/core/runtime/Plugin:stop	(Lorg/osgi/framework/BundleContext;)V
    //   73: return
    // Line number table:
    //   Java source line #507	-> byte code offset #0
    //   Java source line #508	-> byte code offset #3
    //   Java source line #509	-> byte code offset #9
    //   Java source line #510	-> byte code offset #19
    //   Java source line #511	-> byte code offset #26
    //   Java source line #512	-> byte code offset #31
    //   Java source line #513	-> byte code offset #38
    //   Java source line #514	-> byte code offset #45
    //   Java source line #517	-> byte code offset #60
    //   Java source line #518	-> byte code offset #61
    //   Java source line #519	-> byte code offset #66
    //   Java source line #518	-> byte code offset #68
    //   Java source line #520	-> byte code offset #73
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	74	0	this	ApiPlugin
    //   0	74	1	context	BundleContext
    //   60	7	2	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   0	60	60	finally
  }
  
  public int getSeverityLevel(String prefkey, IProject project)
  {
    IPreferencesService service = Platform.getPreferencesService();
    IScopeContext[] context = (IScopeContext[])null;
    if (hasProjectSettings(prefkey, project)) {
      context = new IScopeContext[] { new ProjectScope(project), DefaultScope.INSTANCE };
    } else {
      context = new IScopeContext[] { InstanceScope.INSTANCE, DefaultScope.INSTANCE };
    }
    String value = service.get(prefkey, null, getPreferences(context));
    if ("Error".equals(value)) {
      return 2;
    }
    if ("Warning".equals(value)) {
      return 1;
    }
    return 0;
  }
  
  IEclipsePreferences[] getPreferences(IScopeContext[] context)
  {
    if (context != null)
    {
      ArrayList nodes = new ArrayList(context.length);
      IEclipsePreferences node = null;
      for (int i = 0; i < context.length; i++)
      {
        node = context[i].getNode("org.eclipse.pde.api.tools");
        if (node != null) {
          nodes.add(node);
        }
      }
      if (nodes.size() > 0) {
        return (IEclipsePreferences[])nodes.toArray(new IEclipsePreferences[nodes.size()]);
      }
    }
    return null;
  }
  
  boolean hasProjectSettings(String preferenceKey, IProject project)
  {
    if (Arrays.binarySearch(IApiProblemTypes.WORKSPACE_ONLY_PROBLEM_TYPES, preferenceKey) >= 0) {
      return false;
    }
    if (project != null)
    {
      ProjectScope scope = new ProjectScope(project);
      IEclipsePreferences node = scope.getNode("org.eclipse.pde.api.tools");
      try
      {
        return (node != null) && (node.keys().length > 0);
      }
      catch (BackingStoreException bse)
      {
        log(bse);
      }
    }
    return false;
  }
  
  public ISessionManager getSessionManager()
  {
    if (fgSessionManager == null) {
      fgSessionManager = new SessionManager();
    }
    return fgSessionManager;
  }
  
  public boolean getEnableState(String prefkey, IProject project)
  {
    IPreferencesService service = Platform.getPreferencesService();
    IScopeContext[] context = (IScopeContext[])null;
    if (hasProjectSettings(prefkey, project)) {
      context = new IScopeContext[] { new ProjectScope(project), DefaultScope.INSTANCE };
    } else {
      context = new IScopeContext[] { InstanceScope.INSTANCE, DefaultScope.INSTANCE };
    }
    String value = service.get(prefkey, null, getPreferences(context));
    return "Enabled".equals(value);
  }
  
  public void configurePluginDebugOptions()
  {
    if (getDefault().isDebugging())
    {
      String option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/builder");
      if (option != null) {
        ApiAnalysisBuilder.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/delta");
      if (option != null)
      {
        boolean debugValue = option.equalsIgnoreCase("true");
        ClassFileComparator.setDebug(debugValue);
        ApiComparator.setDebug(debugValue);
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/classfilevisitor");
      if (option != null) {
        ReferenceExtractor.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/descriptor/framework");
      if (option != null) {
        ElementDescriptorImpl.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/tagscanner");
      if (option != null) {
        TagScanner.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/pluginworkspacecomponent");
      if (option != null) {
        ProjectComponent.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/profilemanager");
      if (option != null) {
        ApiBaselineManager.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/apifilterstore");
      if (option != null) {
        ApiFilterStore.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/refanalyzer");
      if (option != null) {
        ReferenceAnalyzer.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/refresolver");
      if (option != null) {
        ReferenceResolver.setDebug(option.equalsIgnoreCase("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/problemdetector");
      if (option != null) {
        AbstractProblemDetector.setDebug(option.equals("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/apidescription");
      if (option != null) {
        ApiDescription.setDebug(option.equals("true"));
      }
      option = Platform.getDebugOption("org.eclipse.pde.api.tools/debug/workspacedeltaprocessor");
      if (option != null) {
        WorkspaceDeltaProcessor.setDebug(option.equals("true"));
      }
    }
  }
  
  public Object acquireService(String serviceName)
  {
    ServiceReference reference = fBundleContext.getServiceReference(serviceName);
    if (reference == null) {
      return null;
    }
    return fBundleContext.getService(reference);
  }
}

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

import java.util.LinkedList;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.pde.api.tools.internal.builder.TypeScope;
import org.eclipse.pde.api.tools.internal.descriptors.ComponentDescriptorImpl;
import org.eclipse.pde.api.tools.internal.descriptors.PackageDescriptorImpl;
import org.eclipse.pde.api.tools.internal.model.CompositeApiTypeContainer;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IComponentDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IFieldDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IMemberDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IMethodDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IPackageDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IReferenceTypeDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.model.IApiComponent;
import org.eclipse.pde.api.tools.internal.provisional.model.IApiTypeContainer;
import org.eclipse.pde.api.tools.internal.search.IReferenceDescriptor;
import org.eclipse.pde.api.tools.internal.search.ReferenceDescriptor;
import org.eclipse.pde.api.tools.internal.util.Signatures;

public class Factory
{
  public static IComponentDescriptor componentDescriptor(String componentid)
  {
    return new ComponentDescriptorImpl(componentid, null);
  }
  
  public static IComponentDescriptor componentDescriptor(String componentid, String version)
  {
    return new ComponentDescriptorImpl(componentid, version);
  }
  
  public static IPackageDescriptor packageDescriptor(String packageName)
  {
    return new PackageDescriptorImpl(packageName);
  }
  
  public static IReferenceTypeDescriptor typeDescriptor(String fullyQualifiedName)
  {
    String packageName = Signatures.getPackageName(fullyQualifiedName);
    String typeName = Signatures.getTypeName(fullyQualifiedName);
    return packageDescriptor(packageName).getType(typeName);
  }
  
  public static IMethodDescriptor methodDescriptor(String typename, String name, String signature)
  {
    IReferenceTypeDescriptor type = typeDescriptor(typename);
    return type.getMethod(name, signature);
  }
  
  public static IFieldDescriptor fieldDescriptor(String typename, String name)
  {
    IReferenceTypeDescriptor type = typeDescriptor(typename);
    return type.getField(name);
  }
  
  public static IReferenceDescriptor referenceDescriptor(IComponentDescriptor origincomponent, IMemberDescriptor originmember, int line, IComponentDescriptor targetcomponent, IMemberDescriptor targetmember, int kind, int flags, int visibility, String[] messages)
  {
    return new ReferenceDescriptor(origincomponent, originmember, line, targetcomponent, targetmember, kind, flags, visibility, messages);
  }
  
  public static IApiTypeContainer newScope(IApiComponent[] components)
    throws CoreException
  {
    List compList = new LinkedList();
    for (int i = 0; i < components.length; i++) {
      compList.add(components[i]);
    }
    CompositeApiTypeContainer scope = new CompositeApiTypeContainer(components[0].getBaseline(), compList);
    return scope;
  }
  
  public static IApiTypeContainer newTypeScope(IApiComponent component, IReferenceTypeDescriptor[] types)
  {
    return new TypeScope(component, types);
  }
}

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

public abstract interface IApiAccess
{
  public static final int NORMAL = 0;
  public static final int FRIEND = 1;
  
  public abstract int getAccessLevel();
}

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

public abstract interface IApiAnnotations
{
  public abstract int getVisibility();
  
  public abstract int getRestrictions();
}

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

import org.eclipse.pde.api.tools.internal.provisional.model.IApiBaseline;
import org.eclipse.pde.api.tools.internal.provisional.model.IApiComponent;

public abstract interface IApiBaselineManager
{
  public abstract void addApiBaseline(IApiBaseline paramIApiBaseline);
  
  public abstract IApiBaseline[] getApiBaselines();
  
  public abstract IApiBaseline getApiBaseline(String paramString);
  
  public abstract boolean removeApiBaseline(String paramString);
  
  public abstract void setDefaultApiBaseline(String paramString);
  
  public abstract IApiBaseline getDefaultApiBaseline();
  
  public abstract IApiBaseline getWorkspaceBaseline();
  
  public abstract IApiComponent getWorkspaceComponent(String paramString);
}

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

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IElementDescriptor;
import org.eclipse.pde.api.tools.internal.provisional.descriptors.IPackageDescriptor;

public abstract interface IApiDescription
{
  public static final int ELEMENT_NOT_FOUND = 100;
  
  public abstract IStatus setVisibility(IElementDescriptor paramIElementDescriptor, int paramInt);
  
  public abstract IStatus setRestrictions(IElementDescriptor paramIElementDescriptor, int paramInt);
  
  public abstract IStatus setSuperclass(IElementDescriptor paramIElementDescriptor, String paramString);
  
  public abstract IStatus setSuperinterfaces(IElementDescriptor paramIElementDescriptor, String paramString);
  
  public abstract IStatus setInterface(IElementDescriptor paramIElementDescriptor, boolean paramBoolean);
  
  public abstract IStatus setAddedProfile(IElementDescriptor paramIElementDescriptor, int paramInt);
  
  public abstract IStatus setRemovedProfile(IElementDescriptor paramIElementDescriptor, int paramInt);
  
  public abstract IApiAnnotations resolveAnnotations(IElementDescriptor paramIElementDescriptor);
  
  public abstract IApiAccess resolveAccessLevel(IElementDescriptor paramIElementDescriptor, IPackageDescriptor paramIPackageDescriptor);
  
  public abstract void setAccessLevel(IElementDescriptor paramIElementDescriptor, IPackageDescriptor paramIPackageDescriptor, int paramInt);
  
  public abstract void accept(ApiDescriptionVisitor paramApiDescriptionVisitor, IProgressMonitor paramIProgressMonitor);
  
  public abstract boolean accept(ApiDescriptionVisitor paramApiDescriptionVisitor, IElementDescriptor paramIElementDescriptor, IProgressMonitor paramIProgressMonitor);
}

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

import org.eclipse.core.resources.IResource;
import org.eclipse.pde.api.tools.internal.provisional.problems.IApiProblem;
import org.eclipse.pde.api.tools.internal.provisional.problems.IApiProblemFilter;

public abstract interface IApiFilterStore
{
  public abstract void addFilters(IApiProblemFilter[] paramArrayOfIApiProblemFilter);
  
  public abstract void addFiltersFor(IApiProblem[] paramArrayOfIApiProblem);
  
  public abstract IApiProblemFilter[] getFilters(IResource paramIResource);
  
  public abstract IResource[] getResources();
  
  public abstract boolean removeFilters(IApiProblemFilter[] paramArrayOfIApiProblemFilter);
  
  public abstract boolean isFiltered(IApiProblem paramIApiProblem);
  
  public abstract void dispose();
}

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

public abstract interface IApiJavadocTag
{
  public static final int TYPE_CLASS = 1;
  public static final int TYPE_INTERFACE = 2;
  public static final int TYPE_ENUM = 64;
  public static final int TYPE_ANNOTATION = 128;
  public static final int MEMBER_METHOD = 4;
  public static final int MEMBER_FIELD = 8;
  public static final int MEMBER_NONE = 16;
  public static final int MEMBER_CONSTRUCTOR = 32;
  public static final String NO_REFERENCE_TAG_ID = "org.eclipse.pde.api.tools.noreference";
  public static final String NO_EXTEND_TAG_ID = "org.eclipse.pde.api.tools.noextend";
  public static final String NO_IMPLEMENT_TAG_ID = "org.eclipse.pde.api.tools.noimplement";
  public static final String NO_OVERRIDE_TAG_ID = "org.eclipse.pde.api.tools.nooverride";
  public static final String NO_INSTANTIATE_TAG_ID = "org.eclipse.pde.api.tools.noinstantiate";
  
  public abstract int getRestrictionModifier();
  
  public abstract String getTagName();
  
  public abstract String getCompleteTag(int paramInt1, int paramInt2);
  
  public abstract boolean isApplicable(int paramInt1, int paramInt2);
  
  public abstract void setApplicableTo(int paramInt1, int paramInt2, String paramString);
}

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

public abstract interface IApiMarkerConstants
{
  public static final String MARKER_ATTR_PROBLEM_ID = "problemid";
  public static final String MARKER_ATTR_KIND = "kind";
  public static final String MARKER_ATTR_HANDLE_ID = "org.eclipse.jdt.internal.core.JavaModelManager.handleId";
  public static final String MARKER_ATTR_FILTER_HANDLE_ID = "filterhandle";
  public static final String MARKER_ATTR_VERSION = "version";
  public static final String MARKER_ATTR_MESSAGE_ARGUMENTS = "messagearguments";
  public static final String DEFAULT_API_BASELINE_PROBLEM_MARKER = "org.eclipse.pde.api.tools.api_profile";
  public static final String API_COMPONENT_RESOLUTION_PROBLEM_MARKER = "org.eclipse.pde.api.tools.api_component_resolution";
  public static final String FATAL_PROBLEM_MARKER = "org.eclipse.pde.api.tools.fatal_problem";
  public static final String COMPATIBILITY_PROBLEM_MARKER = "org.eclipse.pde.api.tools.compatibility";
  public static final String API_USAGE_PROBLEM_MARKER = "org.eclipse.pde.api.tools.api_usage";
  public static final String UNUSED_FILTER_PROBLEM_MARKER = "org.eclipse.pde.api.tools.unused_filters";
  public static final String VERSION_NUMBERING_PROBLEM_MARKER = "org.eclipse.pde.api.tools.version_numbering";
  public static final String SINCE_TAGS_PROBLEM_MARKER = "org.eclipse.pde.api.tools.marker.sincetags";
  public static final String UNSUPPORTED_TAG_PROBLEM_MARKER = "org.eclipse.pde.api.tools.unsupported_tags";
  public static final String API_MARKER_ATTR_ID = "apiMarkerID";
  public static final int DEFAULT_API_BASELINE_MARKER_ID = 1;
  public static final int COMPATIBILITY_MARKER_ID = 2;
  public static final int API_USAGE_MARKER_ID = 3;
  public static final int VERSION_NUMBERING_MARKER_ID = 4;
  public static final int SINCE_TAG_MARKER_ID = 5;
  public static final int UNSUPPORTED_TAG_MARKER_ID = 6;
  public static final int DUPLICATE_TAG_MARKER_ID = 7;
  public static final int API_COMPONENT_RESOLUTION_MARKER_ID = 8;
  public static final int UNUSED_PROBLEM_FILTER_MARKER_ID = 9;
  public static final String VERSION_NUMBERING_ATTR_DESCRIPTION = "description";
  public static final String MARKER_ATTR_PROBLEM_TYPE_NAME = "problemTypeName";
  public static final String API_USESCAN_PROBLEM_MARKER = "org.eclipse.pde.api.tools.marker.apiusescan";
  public static final String API_USESCAN_TYPE = "apiUseScanType";
}

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

public abstract interface IRequiredComponentDescription
{
  public abstract String getId();
  
  public abstract IVersionRange getVersionRange();
  
  public abstract boolean isOptional();
  
  public abstract boolean isExported();
}

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

public abstract interface ISession
{
  public abstract ITreeModel getModel();
  
  public abstract String getDescription();
}

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

public abstract interface ISessionListener
{
  public abstract void sessionAdded(ISession paramISession);
  
  public abstract void sessionRemoved(ISession paramISession);
  
  public abstract void sessionActivated(ISession paramISession);
}

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

public abstract interface ISessionManager
{
  public abstract void addSession(ISession paramISession, boolean paramBoolean);
  
  public abstract void removeSession(ISession paramISession);
  
  public abstract void removeAllSessions();
  
  public abstract ISession[] getSessions();
  
  public abstract void addSessionListener(ISessionListener paramISessionListener);
  
  public abstract void removeSessionListener(ISessionListener paramISessionListener);
  
  public abstract ISession getActiveSession();
  
  public abstract void activateSession(ISession paramISession);
}

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

public abstract interface ITreeModel
{
  public abstract ITreeNode getRoot();
}

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

public abstract interface ITreeNode
{
  public static final int CLASS = 1;
  public static final int INTERFACE = 2;
  public static final int ANNOTATION = 3;
  public static final int ENUM = 4;
  public static final int PACKAGE = 5;
  
  public abstract Object[] getChildren();
  
  public abstract boolean hasChildren();
  
  public abstract int getId();
  
  public abstract Object getData();
}

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

public abstract interface IVersionRange
{
  public abstract String getMinimumVersion();
  
  public abstract boolean isIncludeMinimum();
  
  public abstract String getMaximumVersion();
  
  public abstract boolean isIncludeMaximum();
  
  public abstract boolean isIncluded(String paramString);
}

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

public final class ProfileModifiers
{
  public static final int NO_PROFILE_VALUE = 0;
  public static final String CDC_1_0_FOUNDATION_1_0_NAME = "CDC-1.0/Foundation-1.0";
  public static final String CDC_1_1_FOUNDATION_1_1_NAME = "CDC-1.1/Foundation-1.1";
  public static final String J2SE_1_2_NAME = "J2SE-1.2";
  public static final String J2SE_1_3_NAME = "J2SE-1.3";
  public static final String J2SE_1_4_NAME = "J2SE-1.4";
  public static final String J2SE_1_5_NAME = "J2SE-1.5";
  public static final String JAVASE_1_6_NAME = "JavaSE-1.6";
  public static final String JAVASE_1_7_NAME = "JavaSE-1.7";
  public static final String JRE_1_1_NAME = "JRE-1.1";
  public static final String OSGI_MINIMUM_1_0_NAME = "OSGi/Minimum-1.0";
  public static final String OSGI_MINIMUM_1_1_NAME = "OSGi/Minimum-1.1";
  public static final String OSGI_MINIMUM_1_2_NAME = "OSGi/Minimum-1.2";
  public static final int CDC_1_0_FOUNDATION_1_0 = 1;
  public static final int CDC_1_1_FOUNDATION_1_1 = 2;
  public static final int JRE_1_1 = 4;
  public static final int J2SE_1_2 = 8;
  public static final int J2SE_1_3 = 16;
  public static final int J2SE_1_4 = 32;
  public static final int J2SE_1_5 = 64;
  public static final int JAVASE_1_6 = 128;
  public static final int JAVASE_1_7 = 256;
  public static final int OSGI_MINIMUM_1_0 = 512;
  public static final int OSGI_MINIMUM_1_1 = 1024;
  public static final int OSGI_MINIMUM_1_2 = 2048;
  public static final int OSGI_MINIMUM_MASK = 3584;
  public static final int CDC_FOUNDATION_MAX = 3;
  public static final int JRES_MAX = 508;
  
  public static boolean isCDC_1_0_FOUNDATION_1_0(int modifiers)
  {
    return (modifiers & 0x1) > 0;
  }
  
  public static boolean isCDC_1_1_FOUNDATION_1_1(int modifiers)
  {
    return (modifiers & 0x2) > 0;
  }
  
  public static boolean isJ2SE_1_2(int modifiers)
  {
    return (modifiers & 0x8) > 0;
  }
  
  public static boolean isJ2SE_1_3(int modifiers)
  {
    return (modifiers & 0x10) > 0;
  }
  
  public static boolean isJ2SE_1_4(int modifiers)
  {
    return (modifiers & 0x20) > 0;
  }
  
  public static boolean isJ2SE_1_5(int modifiers)
  {
    return (modifiers & 0x40) > 0;
  }
  
  public static boolean isJAVASE_1_6(int modifiers)
  {
    return (modifiers & 0x80) > 0;
  }
  
  public static boolean isJAVASE_1_7(int modifiers)
  {
    return (modifiers & 0x100) > 0;
  }
  
  public static boolean isJRE_1_1(int modifiers)
  {
    return (modifiers & 0x4) > 0;
  }
  
  public static boolean isOSGI_MINIMUM_1_0(int modifiers)
  {
    return (modifiers & 0x200) > 0;
  }
  
  public static boolean isOSGI_MINIMUM_1_1(int modifiers)
  {
    return (modifiers & 0x400) > 0;
  }
  
  public static boolean isOSGI_MINIMUM_1_2(int modifiers)
  {
    return (modifiers & 0x800) > 0;
  }
  
  public static int getValue(String profileName)
  {
    if (profileName == null) {
      return 0;
    }
    if ("CDC-1.0/Foundation-1.0".equals(profileName)) {
      return 1;
    }
    if ("CDC-1.1/Foundation-1.1".equals(profileName)) {
      return 2;
    }
    if ("J2SE-1.2".equals(profileName)) {
      return 8;
    }
    if ("J2SE-1.3".equals(profileName)) {
      return 16;
    }
    if ("J2SE-1.4".equals(profileName)) {
      return 32;
    }
    if ("J2SE-1.5".equals(profileName)) {
      return 64;
    }
    if ("JavaSE-1.6".equals(profileName)) {
      return 128;
    }
    if ("JavaSE-1.7".equals(profileName)) {
      return 256;
    }
    if ("JRE-1.1".equals(profileName)) {
      return 4;
    }
    if ("OSGi/Minimum-1.0".equals(profileName)) {
      return 512;
    }
    if ("OSGi/Minimum-1.1".equals(profileName)) {
      return 1024;
    }
    if ("OSGi/Minimum-1.2".equals(profileName)) {
      return 2048;
    }
    return 0;
  }
  
  public static String getName(int profile)
  {
    switch (profile)
    {
    case 1: 
      return "CDC-1.0/Foundation-1.0";
    case 2: 
      return "CDC-1.1/Foundation-1.1";
    case 8: 
      return "J2SE-1.2";
    case 16: 
      return "J2SE-1.3";
    case 32: 
      return "J2SE-1.4";
    case 64: 
      return "J2SE-1.5";
    case 128: 
      return "JavaSE-1.6";
    case 256: 
      return "JavaSE-1.7";
    case 4: 
      return "JRE-1.1";
    case 512: 
      return "OSGi/Minimum-1.0";
    case 1024: 
      return "OSGi/Minimum-1.1";
    case 2048: 
      return "OSGi/Minimum-1.2";
    }
    return null;
  }
  
  public static boolean isJRE(int value)
  {
    return (value & 0x1FC) != 0;
  }
  
  public static boolean isJRE(String name)
  {
    int value = getValue(name);
    return isJRE(value);
  }
  
  public static boolean isOSGi(String name)
  {
    int value = getValue(name);
    return isOSGi(value);
  }
  
  public static boolean isOSGi(int value)
  {
    return (value & 0xE00) != 0;
  }
  
  public static boolean isCDC_Foundation(String name)
  {
    int value = getValue(name);
    return isCDC_Foundation(value);
  }
  
  public static boolean isCDC_Foundation(int value)
  {
    return (value & 0x3) != 0;
  }
  
  public static int[] getAllIds()
  {
    return new int[] {
      1, 
      2, 
      4, 
      8, 
      16, 
      32, 
      64, 
      128, 
      256, 
      512, 
      1024, 
      2048 };
  }
}

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

public final class RestrictionModifiers
{
  public static final int NO_RESTRICTIONS = 0;
  public static final int NO_IMPLEMENT = 1;
  public static final int NO_EXTEND = 2;
  public static final int NO_INSTANTIATE = 4;
  public static final int NO_REFERENCE = 8;
  public static final int NO_OVERRIDE = 16;
  public static final int ALL_RESTRICTIONS = 255;
  
  public static final boolean isImplementRestriction(int modifiers)
  {
    return (modifiers & 0x1) > 0;
  }
  
  public static final boolean isExtendRestriction(int modifiers)
  {
    return (modifiers & 0x2) > 0;
  }
  
  public static final boolean isOverrideRestriction(int modifiers)
  {
    return (modifiers & 0x10) > 0;
  }
  
  public static final boolean isInstantiateRestriction(int modifiers)
  {
    return (modifiers & 0x4) > 0;
  }
  
  public static final boolean isReferenceRestriction(int modifiers)
  {
    return (modifiers & 0x8) > 0;
  }
  
  public static final boolean isUnrestricted(int modifiers)
  {
    return modifiers == 0;
  }
  
  public static String getRestrictionText(int restrictions)
  {
    StringBuffer buffer = new StringBuffer();
    if (restrictions == 0) {
      return "NO_RESTRICTIONS";
    }
    if (restrictions == 255)
    {
      buffer.append("ALL_RESTRICTIONS");
    }
    else
    {
      if ((restrictions & 0x2) > 0) {
        buffer.append("NO_EXTEND");
      }
      if ((restrictions & 0x1) > 0)
      {
        if (buffer.length() > 0) {
          buffer.append(" | ");
        }
        buffer.append("NO_IMPLEMENT");
      }
      if ((restrictions & 0x4) > 0)
      {
        if (buffer.length() > 0) {
          buffer.append(" | ");
        }
        buffer.append("NO_INSTANTIATE");
      }
      if ((restrictions & 0x8) > 0)
      {
        if (buffer.length() > 0) {
          buffer.append(" | ");
        }
        buffer.append("NO_REFERENCE");
      }
      if (0 > 0)
      {
        if (buffer.length() > 0) {
          buffer.append(" | ");
        }
        buffer.append("NO_RESTRICTIONS");
      }
      if ((restrictions & 0x10) > 0)
      {
        if (buffer.length() > 0) {
          buffer.append(" | ");
        }
        buffer.append("NO_OVERRIDE");
      }
    }
    if (buffer.length() == 0) {
      return "UNKNOWN_KIND";
    }
    return buffer.toString();
  }
}

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

public final class VisibilityModifiers
{
  public static final int API = 1;
  public static final int PRIVATE = 2;
  public static final int SPI = 4;
  public static final int ILLEGAL_API = 22;
  public static final int PRIVATE_PERMISSIBLE = 8;
  public static final int ALL_VISIBILITIES = 65535;
  
  public static final boolean isAPI(int modifiers)
  {
    return (modifiers & 0x1) > 0;
  }
  
  public static final boolean isSPI(int modifiers)
  {
    return (modifiers & 0x4) > 0;
  }
  
  public static final boolean isPrivate(int modifiers)
  {
    return (modifiers & 0x2) > 0;
  }
  
  public static final boolean isPermissiblePrivate(int modifiers)
  {
    return (modifiers & 0x8) > 0;
  }
  
  public static String getVisibilityName(int visibility)
  {
    switch (visibility)
    {
    case 65535: 
      return "ALL_VISIBILITIES";
    case 1: 
      return "API";
    case 2: 
      return "PRIVATE";
    case 8: 
      return "PRIVATE_PERMISSIBLE";
    case 5: 
      return "FRAGMENT_PERMISSIBLE";
    case 4: 
      return "SPI";
    case 22: 
      return "ILLEGAL_API";
    case 0: 
      return "INHERITED";
    }
    return "UNKNOWN_VISIBILITY";
  }
}

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

import java.util.Properties;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.pde.api.tools.internal.builder.BuildState;
import org.eclipse.pde.api.tools.internal.provisional.IApiFilterStore;
import org.eclipse.pde.api.tools.internal.provisional.model.IApiBaseline;
import org.eclipse.pde.api.tools.internal.provisional.model.IApiComponent;
import org.eclipse.pde.api.tools.internal.provisional.problems.IApiProblem;

public abstract interface IApiAnalyzer
{
  public abstract void analyzeComponent(BuildState paramBuildState, IApiFilterStore paramIApiFilterStore, Properties paramProperties, IApiBaseline paramIApiBaseline, IApiComponent paramIApiComponent, IBuildContext paramIBuildContext, IProgressMonitor paramIProgressMonitor);
  
  public abstract IApiProblem[] getProblems();
  
  public abstract void dispose();
}

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

import java.util.List;

public abstract interface IApiProblemDetector
{
  public abstract int getReferenceKinds();
  
  public abstract boolean considerReference(IReference paramIReference);
  
  public abstract List createProblems();
}

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

public abstract interface IBuildContext
{
  public abstract String[] getStructurallyChangedTypes();
  
  public abstract String[] getDescriptionChangedTypes();
  
  public abstract String[] getRemovedTypes();
  
  public abstract String[] getDescriptionDependentTypes();
  
 
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