bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
public TagLibraryInfo[] getTagLibraryInfos() {

        TagLibraryInfo[] taglibs = null;

        Collection c = pageInfo.getTaglibs();
        if (c != null) {
            Object[] objs = c.toArray();
            if (objs != null && objs.length > 0) {
                taglibs = new TagLibraryInfo[objs.length];
                for (int i=0; i<objs.length; i++) {
                    taglibs[i] = (TagLibraryInfo) objs[i];
                }
            }
        }

        return taglibs;
    }
public TagLibraryInfo[] getTagLibraryInfos() {

        TagLibraryInfo[] taglibs = null;

        Collection c = pageInfo.getTaglibs();
        if (c != null) {
            Object[] objs = c.toArray();
            if (objs != null && objs.length > 0) {
                taglibs = new TagLibraryInfo[objs.length];
                for (int i=0; i<objs.length; i++) {
                    taglibs[i] = (TagLibraryInfo) objs[i];
                }
            }
        }

        return taglibs;
    }
Returns an array of TagLibraryInfo objects representing the entire set
of tag libraries (including this TagLibraryInfo) imported by taglib
directives in the translation unit that references this
TagLibraryInfo.

If a tag library is imported more than once and bound to different
prefices, only the TagLibraryInfo bound to the first prefix must be
included in the returned array.

@return Array of TagLibraryInfo objects representing the entire set
of tag libraries (including this TagLibraryInfo) imported by taglib
directives in the translation unit that references this TagLibraryInfo.

@since 2.1