Summary: | Control access rules severity | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | jeffmcaffer, philippe_mulet, wassim.melhem |
Version: | 3.1 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Jerome Lanneluc
2005-03-10 09:39:43 EST
Added the following APIs to control access rules severity: - IAccessRule int K_ACCESSIBLE; int K_NON_ACCESSIBLE; int K_DISCOURAGED; IPath getPattern(); int getKind(); - JavaCore String COMPILER_PB_DISCOURAGED_REFERENCE; IAccessRule newAccessRule(IPath pattern, int kind); IClasspathEntry newContainerEntry( IPath containerPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported); IClasspathEntry newLibraryEntry( IPath path, IPath sourceAttachmentPath, IPath sourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported); IClasspathEntry newProjectEntry( IPath path, IAccessRule[] accessRules, boolean combineAccessRules, IClasspathAttribute[] extraAttributes, boolean isExported); IClasspathEntry newVariableEntry( IPath variablePath, IPath variableSourceAttachmentPath, IPath variableSourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported); - IClasspathEntry boolean combineAccessRules(); IAccessRule[] getAccessRules(); Jerome, any chance the discouraged types are not in the code assist proposals? or is that a separate issue? by discouraged, I also meant inaccessible ;-) That's a separate issue. David is adding flags to control this. Verified in I20050330-0500 |