mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
sdk.md: Make extension classes non-public and final
This commit is contained in:
parent
189ec31a05
commit
02ee9f26fa
@ -85,7 +85,7 @@ Use `com.intellij.projectSdkSetupValidator` extension point to register an imple
|
||||
The following is a simplified example that checks whether an instance of "DemoSdk" has been configured in the project when the user opens a "DemoFileType":
|
||||
|
||||
```kotlin
|
||||
class DemoProjectSdkSetupValidator : ProjectSdkSetupValidator {
|
||||
internal class DemoProjectSdkSetupValidator : ProjectSdkSetupValidator {
|
||||
override fun isApplicableFor(project: Project, file: VirtualFile): Boolean {
|
||||
return file.fileType == DemoFileType
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user