org.eclipse.jdt.internal.compiler.env
类 AccessRuleSet

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.env.AccessRuleSet

public class AccessRuleSet
extends Object

Definition of a set of access rules used to flag forbidden references to non API code.


字段摘要
 String classpathEntryName
           
 byte classpathEntryType
           
 
构造方法摘要
AccessRuleSet(AccessRule[] accessRules, byte classpathEntryType, String classpathEntryName)
          Make a new set of access rules.
 
方法摘要
 boolean equals(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()
           
 String toString()
           
 String toString(boolean wrap)
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

classpathEntryType

public byte classpathEntryType

classpathEntryName

public String classpathEntryName
构造方法详细信息

AccessRuleSet

public AccessRuleSet(AccessRule[] accessRules,
                     byte classpathEntryType,
                     String classpathEntryName)
Make a new set of access rules.

参数:
accessRules - the access rules to be contained by the new set
classpathEntryType - one of AccessRestriction.COMMAND_LINE, AccessRestriction.LIBRARY, AccessRestriction.PROJECT that tells the access restrictions how to render the classpath entry
classpathEntryName - a user-readable name for the classpath entry
方法详细信息

equals

public boolean equals(Object object)
覆盖:
Object 中的 equals
另请参见:
Object.equals(java.lang.Object)

getAccessRules

public AccessRule[] getAccessRules()

getViolatedRestriction

public 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.

参数:
targetTypeFilePath - the target type file path, formed as: "org/eclipse/jdt/core/JavaCore"
返回:
the first access restriction that applies if any, null else

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

toString

public String toString()
覆盖:
Object 中的 toString

toString

public String toString(boolean wrap)


Copyright © 2013. All Rights Reserved.