Class ClasspathAccessRule
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.AccessRule
org.aspectj.org.eclipse.jdt.internal.core.ClasspathAccessRule
- All Implemented Interfaces:
IAccessRule
-
Field Summary
Fields inherited from class AccessRule
IgnoreIfBetter, pattern, problemIdFields inherited from interface IAccessRule
IGNORE_IF_BETTER, K_ACCESSIBLE, K_DISCOURAGED, K_NON_ACCESSIBLE -
Constructor Summary
ConstructorsConstructorDescriptionClasspathAccessRule(char[] pattern, int problemId) ClasspathAccessRule(org.eclipse.core.runtime.IPath pattern, int kind) -
Method Summary
Modifier and TypeMethodDescriptionintgetKind()Returns the kind of this access rule (one ofIAccessRule.K_ACCESSIBLE,IAccessRule.K_NON_ACCESSIBLEorIAccessRule.K_DISCOURAGED).org.eclipse.core.runtime.IPathReturns the file pattern for this access rule.Methods inherited from class AccessRule
equals, getProblemId, hashCode, ignoreIfBetter, toStringMethods inherited from interface IAccessRule
ignoreIfBetter
-
Constructor Details
-
ClasspathAccessRule
public ClasspathAccessRule(org.eclipse.core.runtime.IPath pattern, int kind) -
ClasspathAccessRule
public ClasspathAccessRule(char[] pattern, int problemId)
-
-
Method Details
-
getPattern
public org.eclipse.core.runtime.IPath getPattern()Description copied from interface:IAccessRuleReturns the file pattern for this access rule.- Specified by:
getPatternin interfaceIAccessRule- Returns:
- the file pattern for this access rule
- See Also:
-
getKind
public int getKind()Description copied from interface:IAccessRuleReturns the kind of this access rule (one ofIAccessRule.K_ACCESSIBLE,IAccessRule.K_NON_ACCESSIBLEorIAccessRule.K_DISCOURAGED).- Specified by:
getKindin interfaceIAccessRule- Returns:
- the kind of this access rule
-