| java.lang.Object org.eclipse.jdt.internal.compiler.env.AccessRuleSet
AccessRuleSet | public class AccessRuleSet (Code) | | Definition of a set of access rules used to flag forbidden references to non API code.
|
MESSAGE_TEMPLATES_LENGTH | final public static int MESSAGE_TEMPLATES_LENGTH(Code) | | |
AccessRuleSet | public AccessRuleSet(AccessRule[] accessRules, String[] messageTemplates)(Code) | | Make a new set of access rules.
Parameters: accessRules - the access rules to be contained by the new set Parameters: messageTemplates - a Sting[4] array specifying the messages for type, constructor, method and field access violation; each should contain as manyplaceholders as expected by the respective access violation message (that is,one for type and constructor, two for method and field); replaced by adefault value if null. |
getViolatedRestriction | public AccessRestriction getViolatedRestriction(char[] targetTypeFilePath)(Code) | | Select the first access rule which is violated when accessing a given type,
or null if no 'non accessible' access rule applies.
Parameters: targetTypeFilePath - the target type file path, formed as: "org/eclipse/jdt/core/JavaCore" the first access restriction that applies if any, null else |
|
|