org.eclipse.jdt.internal.core
Class ClasspathAccessRule
java.lang.Object
org.eclipse.jdt.internal.compiler.env.AccessRule
org.eclipse.jdt.internal.core.ClasspathAccessRule
- All Implemented Interfaces:
- IAccessRule
public class ClasspathAccessRule
- extends AccessRule
- implements IAccessRule
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ClasspathAccessRule
public ClasspathAccessRule(org.eclipse.core.runtime.IPath pattern,
int kind)
ClasspathAccessRule
public ClasspathAccessRule(char[] pattern,
int problemId)
getPattern
public org.eclipse.core.runtime.IPath getPattern()
- Description copied from interface:
IAccessRule
- Returns the file pattern for this access rule.
- Specified by:
getPattern
in interface IAccessRule
- Returns:
- the file pattern for this access rule
getKind
public int getKind()
- Description copied from interface:
IAccessRule
- Returns the kind of this access rule (one of
IAccessRule.K_ACCESSIBLE
, IAccessRule.K_NON_ACCESSIBLE
or IAccessRule.K_DISCOURAGED
).
- Specified by:
getKind
in interface IAccessRule
- Returns:
- the kind of this access rule