()
| 42 | public Shim(AnimationElement e) { |
| 43 | this.e = e; |
| 44 | } |
| 45 | |
| 46 | @Override |
| 47 | public Boolean get() { |
| 48 | try { |
| 49 | if (first) { |
| 50 | first = false; |
| 51 | e.beginning(stopping); |
| 52 | return true; |
| 53 | } else if (stopping) { |
| 54 | e.end(stopping); |
| 55 | return false; |
| 56 | } else { |
| 57 | e.middle(stopping); |
| 58 | return true; |
| 59 | } |
| 60 | } catch (Throwable t) { |
| 61 | t.printStackTrace(); |
| 62 | Errors.INSTANCE.tryToReportTo(t, "Error thrown in box animation, box stopped", null); |
| 63 | |
| 64 | return false; |
| 65 | } |
| 66 | } |
| 67 |
nothing calls this directly
no test coverage detected