Class BinaryModuleDescriptor

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.java.model.BinaryModuleDescriptor

public class BinaryModuleDescriptor extends Object
Holds a lightweight identifier for an IBinaryModule, with sufficient information to either read it from disk or read it from the index.
  • Field Details

    • indexPath

      public final char[] indexPath
    • moduleName

      public final char[] moduleName
    • location

      public final char[] location
    • workspacePath

      public final char[] workspacePath
  • Constructor Details

    • BinaryModuleDescriptor

      public BinaryModuleDescriptor(char[] location, char[] moduleName, char[] workspacePath, char[] indexPath)
      Constructs a new descriptor
      Parameters:
      location - location where the archive (.jar or .class) can be found in the local filesystem
      moduleName - name of the module
      workspacePath - location where the archive (.jar or class) can be found in the workspace. If it is not in the workspace, this is the path where it can be found on the local filesystem.
      indexPath - index path for the new module (workspace-or-local path to jar optionally followed by a | and a relative path within the .jar)
  • Method Details

    • isInJarFile

      public boolean isInJarFile()
    • toString

      public String toString()
      For debugging purposes only.
      Overrides:
      toString in class Object