org.eclipse.jdt.internal.core
Class ClasspathAccessRule

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.env.AccessRule
      extended by org.eclipse.jdt.internal.core.ClasspathAccessRule
All Implemented Interfaces:
IAccessRule

public class ClasspathAccessRule
extends AccessRule
implements IAccessRule


Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.compiler.env.AccessRule
IgnoreIfBetter, pattern, problemId
 
Fields inherited from interface org.eclipse.jdt.core.IAccessRule
IGNORE_IF_BETTER, K_ACCESSIBLE, K_DISCOURAGED, K_NON_ACCESSIBLE
 
Constructor Summary
ClasspathAccessRule(char[] pattern, int problemId)
           
ClasspathAccessRule(org.eclipse.core.runtime.IPath pattern, int kind)
           
 
Method Summary
 int getKind()
          Returns the kind of this access rule (one of IAccessRule.K_ACCESSIBLE, IAccessRule.K_NON_ACCESSIBLE or IAccessRule.K_DISCOURAGED).
 org.eclipse.core.runtime.IPath getPattern()
          Returns the file pattern for this access rule.
 
Methods inherited from class org.eclipse.jdt.internal.compiler.env.AccessRule
equals, getProblemId, hashCode, ignoreIfBetter, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jdt.core.IAccessRule
ignoreIfBetter
 

Constructor Detail

ClasspathAccessRule

public ClasspathAccessRule(org.eclipse.core.runtime.IPath pattern,
                           int kind)

ClasspathAccessRule

public ClasspathAccessRule(char[] pattern,
                           int problemId)
Method Detail

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