java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.AccessRuleSet

public class AccessRuleSet extends Object
Definition of a set of access rules used to flag forbidden references to non API code.
  • Field Details

    • classpathEntryType

      public byte classpathEntryType
    • classpathEntryName

      public String classpathEntryName
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
      See Also:
      Object.equals(java.lang.Object)
    • getAccessRules

      public AccessRule[] getAccessRules()
    • getViolatedRestriction

      public AccessRestriction getViolatedRestriction(char[] targetTypeFilePath)
      Select the first access rule which is violated when accessing a given type, or null if no 'non accessible' access rule applies.
      Parameters:
      targetTypeFilePath - the target type file path, formed as: "org/aspectj/org/eclipse/jdt/core/JavaCore"
      Returns:
      the first access restriction that applies if any, null else
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean wrap)