• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Camelcade / Perl5-IDEA / #525521719

26 Nov 2025 04:04AM UTC coverage: 75.981% (-0.02%) from 75.996%
#525521719

push

github

hurricup
Bump org.jetbrains.intellij.platform from 2.10.4 to 2.10.5

Bumps org.jetbrains.intellij.platform from 2.10.4 to 2.10.5.

---
updated-dependencies:
- dependency-name: org.jetbrains.intellij.platform
  dependency-version: 2.10.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

14764 of 22633 branches covered (65.23%)

Branch coverage included in aggregate %.

31093 of 37720 relevant lines covered (82.43%)

0.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.11
/mojo/backend/src/main/java/com/perl5/lang/mojolicious/model/MojoProjectListener.java
1
/*
2
 * Copyright 2015-2025 Alexandr Evstigneev
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 * http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.perl5.lang.mojolicious.model;
18

19
import com.intellij.util.messages.Topic;
20
import org.jetbrains.annotations.NotNull;
21

22
public interface MojoProjectListener {
23
  Topic<MojoProjectListener> MOJO_PROJECT_TOPIC = Topic.create("Mojo project manager topic", MojoProjectListener.class);
1✔
24

25
  default void projectCreated(@NotNull MojoProject project) {
26
    MojoProjectManager.LOG.debug("project created event: " + project);
1✔
27
    if (project instanceof MojoApp mojoApp) {
1✔
28
      applicationCreated(mojoApp);
1✔
29
    }
30
    else {
31
      pluginCreated((MojoPlugin)project);
1✔
32
    }
33
  }
1✔
34

35
  default void applicationCreated(@NotNull MojoApp mojoApp) {}
×
36

37
  default void pluginCreated(@NotNull MojoPlugin mojoPlugin) {}
×
38

39
  /**
40
   * @apiNote invoked before deleting from the model
41
   */
42
  default void projectDeleted(@NotNull MojoProject project) {
43
    MojoProjectManager.LOG.debug("project deleted event: " + project);
×
44
    if (project instanceof MojoApp mojoApp) {
×
45
      applicationDeleted(mojoApp);
×
46
    }
47
    else {
48
      pluginDeleted((MojoPlugin)project);
×
49
    }
50
  }
×
51

52
  /**
53
   * @apiNote invoked before deleting from the model
54
   */
55
  @SuppressWarnings("EmptyMethod")
56
  default void applicationDeleted(@SuppressWarnings("unused") @NotNull MojoApp mojoApp) { }
×
57

58
  /**
59
   * @apiNote invoked before deleting from the model
60
   */
61
  @SuppressWarnings("EmptyMethod")
62
  default void pluginDeleted(@SuppressWarnings("unused") @NotNull MojoPlugin mojoPlugin) { }
×
63
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc