/** * Returns instance of property finder. Instance is loaded as {@link java.util.ServiceLoader} service. * If no service is found, this method, this method will return <b>null</b>. * * @return Instance of PropertyEditorFinder. */ public static PropertyEditorFinder getInstance(ClassLoader classLoader) { PropertyEditorFinder result = _INSTANCE; if (result == null) { synchronized (_LOCK) { result = _INSTANCE; if (result == null) { init(classLoader); result = _INSTANCE; } } } return result; }