private static Type sequenceComponentType(Type sequenceType) { // assert sequenceType.getTypeClass() == TypeClass.SEQUENCE; String n = sequenceType.getTypeName(); final String PREFIX = "[]"; // assert n.startsWith(PREFIX); return new Type(n.substring(PREFIX.length())); }
public String getClassName() { String sClassName = ""; if (m_nNodeType == XUnoNode.nINTERFACE) { sClassName = aType.getTypeName(); } else if (m_nNodeType == XUnoNode.nSERVICE) { sClassName = sLabel; } return sClassName; }