|
org.netbeans.api.java/1 1.10.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessibilityQueryImplementation
Permits providers to mark certain Java packages as being inaccessible to outside code despite possibly containing public classes.
A default implementation is registered by the
org.netbeans.modules.java.project
module which looks up the
project corresponding to the file (if any) and checks whether that
project has an implementation of this interface in its lookup. If so, it
delegates to that implementation. Therefore it is not generally necessary
for a project type provider to register its own global implementation of
this query, if it depends on the Java Project module and uses this style.
AccessibilityQuery
,
FileOwnerQuery
,
Project
Method Summary | |
---|---|
Boolean |
isPubliclyAccessible(FileObject pkg)
Checks whether a given Java package (folder of source files) is intended to be publicly accessed by code residing in other compilation units. |
Method Detail |
---|
Boolean isPubliclyAccessible(FileObject pkg)
pkg
- a Java source package
|
org.netbeans.api.java/1 1.10.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |