// Put the tree of stylesheet namespace declarations into the translet
final Vector namespaceAncestors = getXSLTC().getNSAncestorPointers();
if (namespaceAncestors != null && namespaceAncestors.size() != 0) {
addStaticField(classGen, NS_ANCESTORS_INDEX_SIG,
STATIC_NS_ANCESTORS_ARRAY_FIELD);
staticConst.markChunkStart();
il.append(new PUSH(cpg, namespaceAncestors.size()));
il.append(new NEWARRAY(BasicType.INT));
int namespaceAncestorsArrayRef =
cpg.addFieldref(_className, STATIC_NS_ANCESTORS_ARRAY_FIELD,
NS_ANCESTORS_INDEX_SIG);