in commons-digester3-core/src/main/java/org/apache/commons/digester3/annotations/FromAnnotationsRuleModule.java [59:84]
protected final void bindRulesFrom( final Class<?> type )
{
if ( type == null || type.getPackage().getName().startsWith( JAVA_PACKAGE )
|| rulesBinder.isAlreadyBound( type ) )
{
return;
}
// TYPE
visitElements( type );
if ( !type.isInterface() )
{
// CONSTRUCTOR
visitElements( type::getDeclaredConstructors );
// FIELD
visitElements( type::getDeclaredFields );
}
// METHOD
visitElements( type::getDeclaredMethods );
rulesBinder.markAsBound( type );
bindRulesFrom( type.getSuperclass() );
}