public static List<ScopeListExtension> findAll(Collection<? extends Extension> extensions)
    {
        List<ScopeListExtension> result = new ArrayList<ScopeListExtension>();
        for (Extension extension : extensions)
        {
            if (SCOPE_LIST_EXTENSION_ID == extension.getId())
                result.add((ScopeListExtension)extension);
        }
        return result;
    }
public static List < ScopeListExtension > findAll ( Collection < ? extends Extension > extensions ) { List < ScopeListExtension > result = new ArrayList < ScopeListExtension > ( ) ; for ( Extension extension : extensions ) { if ( SCOPE_LIST_EXTENSION_ID == extension . getId ( ) ) result . add ( ( ScopeListExtension ) extension ) ; } return result ; }
Returns all ScopeListExtension found in the given collection of extensions,
or an empty list if the extension collection does not contain ScopeListExtensions.