예제 #1
0
 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()));
 }
예제 #2
0
 public String getClassName() {
   String sClassName = "";
   if (m_nNodeType == XUnoNode.nINTERFACE) {
     sClassName = aType.getTypeName();
   } else if (m_nNodeType == XUnoNode.nSERVICE) {
     sClassName = sLabel;
   }
   return sClassName;
 }