src/main/java/com/tajnyprojekt/tpanimation/TpAnimation.java
private void findFinishedEventCallback() {
        try {
            finishedEvent =
                    parent.getClass().getMethod("onAnimationFinished",
                            new Class[] { TpAnimation.class });
        } catch (Exception e) {
            // fine, don't use the callback
        }
    }
/**
     * Checks if the user has implemented
     * public void onAnimationFinished(TpAnimation a)
     */
Checks if the user has implemented
public void onAnimationFinished(TpAnimation a)
Checks if the user has implemented public void onAnimationFinished ( TpAnimation a )
private void findFinishedEventCallback() {
        try {
            finishedEvent =
                    parent.getClass().getMethod("onAnimationFinished",
                            new Class[] { TpAnimation.class });
        } catch (Exception e) {
        }
    }
private void findFinishedEventCallback ( ) { try { finishedEvent = parent . getClass ( ) . getMethod ( "onAnimationFinished" , new Class [ ] { TpAnimation . class } ) ; } catch ( Exception e ) { } }
Checks if the user has implemented
 public void onAnimationFinished(TpAnimation a)
Checks if the user has implemented public void onAnimationFinished ( TpAnimation a )
// fine, don't use the callback