public class AccessRuleSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
classpathEntryName |
byte |
classpathEntryType |
| Constructor and Description |
|---|
AccessRuleSet(AccessRule[] accessRules,
byte classpathEntryType,
java.lang.String classpathEntryName)
Make a new set of access rules.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
AccessRule[] |
getAccessRules() |
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.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean wrap) |
public byte classpathEntryType
public java.lang.String classpathEntryName
public AccessRuleSet(AccessRule[] accessRules, byte classpathEntryType, java.lang.String classpathEntryName)
accessRules - the access rules to be contained by the new setclasspathEntryType - one of AccessRestriction.COMMAND_LINE,
AccessRestriction.LIBRARY, AccessRestriction.PROJECT
that tells the access restrictions how to render the classpath entryclasspathEntryName - a user-readable name for the classpath entrypublic boolean equals(java.lang.Object object)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public AccessRule[] getAccessRules()
public AccessRestriction getViolatedRestriction(char[] targetTypeFilePath)
targetTypeFilePath - the target type file path, formed as:
"org.aspectj.org.eclipse.jdt/core/JavaCore"public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean wrap)