@SuppressWarnings("signature") // conversion routine
  protected static @ClassGetName String typeToClassGetName(Type t) {

    if (t instanceof ObjectType) {
      return ((ObjectType) t).getClassName();
    } else if (t instanceof BasicType) {
      // Use reserved keyword for basic type rather than signature to
      // avoid conflicts with user defined types.
      return t.toString();
    } else {
      // Array type: just convert '/' to '.'
      return t.getSignature().replace('/', '.');
    }
  }
@SuppressWarnings("signature") 
  protected static @ClassGetName String typeToClassGetName(Type t) {

    if (t instanceof ObjectType) {
      return ((ObjectType) t).getClassName();
    } else if (t instanceof BasicType) {
      
      
      return t.toString();
    } else {
      
      return t.getSignature().replace('/', '.');
    }
  }
@ SuppressWarnings ( "signature" ) // conversion routine protected static @ ClassGetName String typeToClassGetName ( Type t ) { if ( t instanceof ObjectType ) { return ( ( ObjectType ) t ) . getClassName ( ) ; } else if ( t instanceof BasicType ) { // Use reserved keyword for basic type rather than signature to // avoid conflicts with user defined types. return t . toString ( ) ; } else { // Array type: just convert '/' to '.' return t . getSignature ( ) . replace ( ' ' , ' ' ) ; } }
Convert a Type name to a Class name.

@param t type whose name is to be converted
@return a String containing the class name
Convert a Type name to a Class name .