private String getParamJVMSignature(String paramsig) throws SignatureException {
        String paramJVMSig = "";
        String componentType ="";

        if(paramsig != null){

            if(paramsig.contains("[]")) {
                // Gets array dimension.
                int endindex = paramsig.indexOf("[]");
                componentType = paramsig.substring(0, endindex);
                String dimensionString =  paramsig.substring(endindex);
                if(dimensionString != null){
                    while(dimensionString.contains("[]")){
                        paramJVMSig += "[";
                        int beginindex = dimensionString.indexOf("]") + 1;
                        if(beginindex < dimensionString.length()){
                            dimensionString = dimensionString.substring(beginindex);
                        }else
                            dimensionString = "";
                    }
                }
            } else componentType = paramsig;

            paramJVMSig += getComponentType(componentType);
        }
        return paramJVMSig;
    }
private String getParamJVMSignature ( String paramsig ) throws SignatureException { String paramJVMSig = "" ; String componentType = "" ; if ( paramsig != null ) { if ( paramsig . contains ( "[]" ) ) { int endindex = paramsig . indexOf ( "[]" ) ; componentType = paramsig . substring ( 0 , endindex ) ; String dimensionString = paramsig . substring ( endindex ) ; if ( dimensionString != null ) { while ( dimensionString . contains ( "[]" ) ) { paramJVMSig += "[" ; int beginindex = dimensionString . indexOf ( "]" ) + 1 ; if ( beginindex < dimensionString . length ( ) ) { dimensionString = dimensionString . substring ( beginindex ) ; } else dimensionString = "" ; } } } else componentType = paramsig ; paramJVMSig += getComponentType ( componentType ) ; } return paramJVMSig ; }
/*
Returns internal signature of a parameter.