public static ClassLoader[] classLoaders(ClassLoader... classLoaders) {
        if (classLoaders != null && classLoaders.length != 0) {
            return classLoaders;
        } else {
            ClassLoader contextClassLoader = contextClassLoader(), staticClassLoader = staticClassLoader();
            return contextClassLoader != null ?
                    staticClassLoader != null && contextClassLoader != staticClassLoader ?
                            new ClassLoader[]{contextClassLoader, staticClassLoader} :
                            new ClassLoader[]{contextClassLoader} :
                    new ClassLoader[] {};

        }
    }
public static ClassLoader[] classLoaders(ClassLoader... classLoaders) {
        if (classLoaders != null && classLoaders.length != 0) {
            return classLoaders;
        } else {
            ClassLoader contextClassLoader = contextClassLoader(), staticClassLoader = staticClassLoader();
            return contextClassLoader != null ?
                    staticClassLoader != null && contextClassLoader != staticClassLoader ?
                            new ClassLoader[]{contextClassLoader, staticClassLoader} :
                            new ClassLoader[]{contextClassLoader} :
                    new ClassLoader[] {};

        }
    }
public static ClassLoader [ ] classLoaders ( ClassLoader ... classLoaders ) { if ( classLoaders != null && classLoaders . length != 0 ) { return classLoaders ; } else { ClassLoader contextClassLoader = contextClassLoader ( ) , staticClassLoader = staticClassLoader ( ) ; return contextClassLoader != null ? staticClassLoader != null && contextClassLoader != staticClassLoader ? new ClassLoader [ ] { contextClassLoader , staticClassLoader } : new ClassLoader [ ] { contextClassLoader } : new ClassLoader [ ] { } ; } }
Returns an array of class Loaders initialized from the specified array.
<p>
If the input is null or empty, it defaults to both {@link #contextClassLoader()} and {@link #staticClassLoader()}

@return the array of class loaders, not null
Returns an array of class Loaders initialized from the specified array . <p > If the input is null or empty it defaults to both { @link #contextClassLoader () } and { @link #staticClassLoader () }