Klasse AccessRuleSet
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.AccessRuleSet
Definition of a set of access rules used to flag forbidden references to non API code.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungAccessRuleSet
(AccessRule[] accessRules, byte classpathEntryType, String classpathEntryName) Make a new set of access rules. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
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()
toString()
toString
(boolean wrap)
-
Felddetails
-
classpathEntryType
public byte classpathEntryType -
classpathEntryName
-
-
Konstruktordetails
-
AccessRuleSet
Make a new set of access rules.- Parameter:
accessRules
- the access rules to be contained by the new setclasspathEntryType
- one ofAccessRestriction.COMMAND_LINE
,AccessRestriction.LIBRARY
,AccessRestriction.PROJECT
that tells the access restrictions how to render the classpath entryclasspathEntryName
- a user-readable name for the classpath entry
-
-
Methodendetails
-
equals
-
getAccessRules
-
getViolatedRestriction
Select the first access rule which is violated when accessing a given type, or null if no 'non accessible' access rule applies.- Parameter:
targetTypeFilePath
- the target type file path, formed as: "org/aspectj/org/eclipse/jdt/core/JavaCore"- Gibt zurück:
- the first access restriction that applies if any, null else
-
hashCode
public int hashCode() -
toString
-
toString
-