container/common/src/main/java/org/mobicents/slee/container/deployment/ConcreteClassGeneratorUtils.java
public static String toArray(CtClass typeClass) {
		StringTokenizer st = new StringTokenizer(typeClass.getName(), "[");
		String name = null;
		CtClass arrayClass;
		try {
			arrayClass = typeClass.getComponentType();
			if (!arrayClass.isPrimitive())
				name = "L" + arrayClass.getName().replace('/', '.') + ";";
			else
				name = toJvmRepresentation(arrayClass.getName());
			st.nextToken();
			while (st.hasMoreTokens()) {
				st.nextToken();
				name = "[" + name;
			}
		} catch (NotFoundException e) {
			e.printStackTrace();
		}
		return name;
	}
public static String toArray(CtClass typeClass) {
		StringTokenizer st = new StringTokenizer(typeClass.getName(), "[");
		String name = null;
		CtClass arrayClass;
		try {
			arrayClass = typeClass.getComponentType();
			if (!arrayClass.isPrimitive())
				name = "L" + arrayClass.getName().replace('/', '.') + ";";
			else
				name = toJvmRepresentation(arrayClass.getName());
			st.nextToken();
			while (st.hasMoreTokens()) {
				st.nextToken();
				name = "[" + name;
			}
		} catch (NotFoundException e) {
			e.printStackTrace();
		}
		return name;
	}
public static String toArray ( CtClass typeClass ) { StringTokenizer st = new StringTokenizer ( typeClass . getName ( ) , "[" ) ; String name = null ; CtClass arrayClass ; try { arrayClass = typeClass . getComponentType ( ) ; if ( ! arrayClass . isPrimitive ( ) ) name = "L" + arrayClass . getName ( ) . replace ( ' ' , ' ' ) + ";" ; else name = toJvmRepresentation ( arrayClass . getName ( ) ) ; st . nextToken ( ) ; while ( st . hasMoreTokens ( ) ) { st . nextToken ( ) ; name = "[" + name ; } } catch ( NotFoundException e ) { e . printStackTrace ( ) ; } return name ; }
Transform an array class to its string representation <BR>
example: String[] -> [Ljava.lang.String;

@param typeClass
the array class to transform
@return the String representation of the class
Transform an array class to its string representation <BR > example : String [] - > [ Ljava . lang . String ;