/**
  * Gets the actual type.
  *
  * @param type the type
  * @return the actual type
  */
 private String getActualType(ClassOrInterfaceType type) {
   String name = "";
   ClassOrInterfaceType scope = type.getScope();
   if (scope != null) {
     name += getActualType(scope) + ".";
   }
   name += type.getName();
   return name;
 }