public static Object getAnnotatedStyleableValue( Object obj, Border border, String key ) {
		if( border instanceof StyleableBorder ) {
			Object value = ((StyleableBorder)border).getStyleableValue( key );
			if( value != null )
				return value;
		}
		return getAnnotatedStyleableValue( obj, key );
	}
Search for all fields annotated with {@link Styleable} and add them to the given map.
The key is the name of the field and the value the type of the field.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatStylingSupport.java