private static Object parseBorder( String value, Function<String, String> resolver, List<ClassLoader> addonClassLoaders )
		throws IllegalArgumentException
	{
		if( value.indexOf( ',' ) >= 0 ) {
			// Syntax: top,left,bottom,right[,lineColor[,lineThickness[,arc]]]
			List<String> parts = splitFunctionParams( value, ',' );
			try {
				Insets insets = parseInsets( value );
				ColorUIResource lineColor = (parts.size() >= 5 && !parts.get( 4 ).isEmpty())
					? (ColorUIResource) parseColorOrFunction( resolver.apply( parts.get( 4 ) ), resolver )
					: null;
				float lineThickness = (parts.size() >= 6 && !parts.get( 5 ).isEmpty())
					? parseFloat( parts.get( 5 ) )
					: 1f;
				int arc = (parts.size() >= 7) && !parts.get( 6 ).isEmpty()
					? parseInteger( parts.get( 6 ) )
					: -1;

				return (LazyValue) t -> {
					return (lineColor != null || arc > 0)
						? new FlatLineBorder( insets, lineColor, lineThickness, arc )
						: new FlatEmptyBorder( insets );
				};
			} catch( RuntimeException ex ) {
				throw new IllegalArgumentException( "invalid border '" + value + "' (" + ex.getMessage() + ")" );
			}
		} else
			return parseInstance( value, resolver, addonClassLoaders );
	}
Similar to Class.getSimpleName(), but includes enclosing class for nested classes.
flatlaf-core/src/main/java/com/formdev/flatlaf/UIDefaultsLoader.java