public static void collectStyleableInfos( Border border, Map<String, Class<?>> infos ) {
		if( border instanceof StyleableBorder )
			infos.putAll( ((StyleableBorder)border).getStyleableInfos() );
	}
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