Java Code Examples for com.jetbrains.php.lang.PhpLanguage#INSTANCE
The following examples show how to use
com.jetbrains.php.lang.PhpLanguage#INSTANCE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PhpGotoRelatedProvider.java From idea-php-symfony2-plugin with MIT License | 6 votes |
@NotNull @Override public List<? extends GotoRelatedItem> getItems(@NotNull PsiElement psiElement) { if(!Symfony2ProjectComponent.isEnabled(psiElement)) { return Collections.emptyList(); } if(psiElement.getLanguage() != PhpLanguage.INSTANCE) { return Collections.emptyList(); } Method method = PsiTreeUtil.getParentOfType(psiElement, Method.class); if(method == null || !method.getName().endsWith("Action")) { return Collections.emptyList(); } return ControllerMethodLineMarkerProvider.getGotoRelatedItems(method); }
Example 2
Source File: ViewReferences2.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 3
Source File: ModelReference.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 4
Source File: DbReference.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 5
Source File: AppConfigReferences.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 6
Source File: ProviderGotoCompletion.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 7
Source File: RouterReference.java From Thinkphp5-Plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 8
Source File: ControllerReferences.java From idea-php-laravel-plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 9
Source File: AppConfigReferences.java From idea-php-laravel-plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 10
Source File: ProviderGotoCompletion.java From idea-php-laravel-plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }
Example 11
Source File: TranslationReferences.java From idea-php-laravel-plugin with MIT License | 4 votes |
@Override public boolean support(@NotNull Language language) { return PhpLanguage.INSTANCE == language; }