public class Java9ModuleEntryPoint extends EntryPointWithVisibilityLevel
Modifier and Type | Field and Description |
---|---|
boolean |
ADD_EXPORTED_PACKAGES_AND_SERVICES_TO_ENTRIES |
static java.lang.String |
ID |
ACCESS_LEVEL_INVALID
Constructor and Description |
---|
Java9ModuleEntryPoint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
java.lang.String |
getId()
Id to serialize checkbox state in visibility inspection settings
|
int |
getMinVisibilityLevel(PsiMember member) |
java.lang.String |
getTitle()
Title for checkbox in visibility inspection settings
|
boolean |
isEntryPoint(PsiElement psiElement) |
boolean |
isEntryPoint(RefElement refElement,
PsiElement psiElement) |
boolean |
isSelected() |
boolean |
keepVisibilityLevel(boolean entryPointEnabled,
RefJavaElement refJavaElement)
Don't suggest decreasing visibility for the element, sometimes even if the entry point is disabled.
|
void |
readExternal(Element element) |
void |
setSelected(boolean selected) |
void |
writeExternal(Element element) |
clone, getIgnoreAnnotations, showUI
public static final java.lang.String ID
public boolean ADD_EXPORTED_PACKAGES_AND_SERVICES_TO_ENTRIES
public java.lang.String getId()
EntryPointWithVisibilityLevel
getId
in class EntryPointWithVisibilityLevel
public java.lang.String getDisplayName()
getDisplayName
in class EntryPoint
public java.lang.String getTitle()
EntryPointWithVisibilityLevel
getTitle
in class EntryPointWithVisibilityLevel
public boolean isEntryPoint(RefElement refElement, PsiElement psiElement)
isEntryPoint
in class EntryPoint
public boolean isEntryPoint(PsiElement psiElement)
isEntryPoint
in class EntryPoint
public int getMinVisibilityLevel(PsiMember member)
getMinVisibilityLevel
in class EntryPointWithVisibilityLevel
PsiUtil.AccessLevel
) or -1 when not applicablepublic boolean keepVisibilityLevel(boolean entryPointEnabled, RefJavaElement refJavaElement)
EntryPointWithVisibilityLevel
keepVisibilityLevel
in class EntryPointWithVisibilityLevel
public boolean isSelected()
isSelected
in class EntryPoint
public void setSelected(boolean selected)
setSelected
in class EntryPoint
public void readExternal(Element element) throws InvalidDataException
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
WriteExternalException