File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/com/magento/idea/magento2plugin/completion/provider Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
public class PhpJobMethodCompletionContributor extends CompletionProvider <CompletionParameters > {
21
21
22
22
@ Override
23
- protected void addCompletions (@ NotNull CompletionParameters parameters ,
24
- ProcessingContext context ,
25
- @ NotNull CompletionResultSet result ) {
26
- PsiElement position = parameters .getPosition ().getOriginalElement ();
23
+ protected void addCompletions (@ NotNull final CompletionParameters parameters ,
24
+ final ProcessingContext context ,
25
+ @ NotNull final CompletionResultSet result ) {
26
+ final PsiElement position = parameters .getPosition ().getOriginalElement ();
27
27
if (position == null ) {
28
28
return ;
29
29
}
30
30
31
- PhpClass phpClass = DiIndex .getPhpClassOfJobMethod ((XmlElement ) position );
31
+ final PhpClass phpClass = DiIndex .getPhpClassOfJobMethod ((XmlElement ) position );
32
32
if (phpClass != null ) {
33
- for (Method method : phpClass .getMethods ()) {
33
+ for (final Method method : phpClass .getMethods ()) {
34
34
result .addElement (
35
35
LookupElementBuilder
36
36
.create (method .getName ())
You can’t perform that action at this time.
0 commit comments