bundles/org.eclipse.packagedrone.web/src/org/eclipse/packagedrone/web/controller/binding/BindingManager.java
private void initializeBinder ( final Binder binder )
    {
        for ( final Method m : binder.getClass ().getMethods () )
        {
            if ( !m.isAnnotationPresent ( Binder.Initializer.class ) )
            {
                continue;
            }

            final Call call = bind ( m, binder );

            try
            {
                call.invoke ();
            }
            catch ( final Exception e )
            {
                throw new RuntimeException ( String.format ( "Failed to initialze binder: %s # %s", binder, m ), e );
            }
        }
    }
private void initializeBinder ( final Binder binder )
    {
        for ( final Method m : binder.getClass ().getMethods () )
        {
            if ( !m.isAnnotationPresent ( Binder.Initializer.class ) )
            {
                continue;
            }

            final Call call = bind ( m, binder );

            try
            {
                call.invoke ();
            }
            catch ( final Exception e )
            {
                throw new RuntimeException ( String.format ( "Failed to initialze binder: %s # %s", binder, m ), e );
            }
        }
    }
private void initializeBinder ( final Binder binder ) { for ( final Method m : binder . getClass ( ) . getMethods ( ) ) { if ( ! m . isAnnotationPresent ( Binder . Initializer . class ) ) { continue ; } final Call call = bind ( m , binder ) ; try { call . invoke ( ) ; } catch ( final Exception e ) { throw new RuntimeException ( String . format ( "Failed to initialze binder: %s # %s" , binder , m ) , e ) ; } } }
Initialize the binder with our current state

@param binder
the binder to initialize
Initialize the binder with our current state