private void doHandle()

in commons-digester3-core/src/main/java/org/apache/commons/digester3/annotations/handlers/AbstractMethodHandler.java [95:117]


    private void doHandle( final A methodAnnotation, final Method method, final Class<?> type, final boolean fireOnBegin,
                           final RulesBinder rulesBinder )
    {
        if ( type.isInterface() && Modifier.isAbstract( type.getModifiers() ) )
        {
            rulesBinder.addError( "Impossible to proceed analyzing %s, specified type '%s' is an interface/abstract",
                                  methodAnnotation, type.getName() );
            return;
        }

        for ( final Annotation annotation : type.getAnnotations() )
        {
            doHandle( methodAnnotation, annotation, method, type, fireOnBegin, rulesBinder );
        }

        for ( final Constructor<?> constructor : type.getConstructors() )
        {
            for ( final Annotation annotation : constructor.getAnnotations() )
            {
                doHandle( methodAnnotation, annotation, method, type, fireOnBegin, rulesBinder );
            }
        }
    }