获取Object要输出的字段名

@return
435147
public String[] getNames() {
        String[] headers = new String[columns.getColumns().size()];
        for (int i = 0; i < columns.getColumns().size(); i++) {
            headers[i] = columns.getColumns().get(i).getName();
        }
        return headers;
    }
52974
public String objectToString() {
		try {
			checkForDao();
		} catch (SQLException e) {
			throw new IllegalArgumentException(e);
		}
		@SuppressWarnings("unchecked")
		T t = (T) this;
		return dao.objectToString(t);
	}
468346
public final String getName() {
        switch (type) {
            case ServletConfig:
                return servletConfig.getServletName();
            case FilterConfig:
                return filterConfig.getFilterName();
            case ServletContext:
                return servletContext.getServletContextName();
            default:
                throw new IllegalStateException();
        }
    }
1278937
public String getName()
    {
        GVRSceneObject owner = getOwnerObject();
        String name = "";

        if (owner != null)
        {
            name = owner.getName();
            if (name == null)
                return "";
        }
        return name;
    }
788295
@Override
    public String name() {

        StringBuilder sb = new StringBuilder();
        sb.append(this.romaji);
        sb.append(" (");
        Optional<Nengo> next = this.findNext();
        if (next.isPresent()) {
            sb.append(this.relgregyear);
            sb.append('-');
            sb.append(next.get().relgregyear);
        } else {
            sb.append("since ");
            sb.append(this.relgregyear);
        }
        sb.append(')');
        return sb.toString();

    }
447144
public String getName() {
        int separatorIndex = path.lastIndexOf(separator);
        return (separatorIndex < 0) ? path : path.substring(separatorIndex + 1, path.length());
    }
925066
def get_object_name(object):
    

    if type(object) is property:
        return object.fget.__name__
    elif hasattr(object, "__name__"):
        return object.__name__
    elif hasattr(object, "__class__"):
        return object.__class__.__name__
    else:
        return NULL_OBJECT_NAME
807729
public String getTypeName() {
		String type = null;
		if (dataType != null) {
			type = dataType.name();
		}
		return type;
	}
950903
@Override
    public String getName() {
        if (name == null) {
            return null;
        }
        if (name.endsWith("_INDEX_2")) {
            return removeEnd(name, "_INDEX_2");
        }
        return name;
    }
1333020
public String getShortName()
  {
    if (isArray())
      return getComponentType().getShortName() + "[]";
    else {
      String name = getName().replace('$', '.');
      
      int p = name.lastIndexOf('.');

      if (p >= 0)
        return name.substring(p + 1);
      else
        return name;
    }
  }
664696
@NotNull
    @Size(max = 100)
    @ApiModelProperty(required = true, value = "")
    public String getName() {
        return name;
    }
901632
public String getName() {
        if (name == null && securityIdentity != null) {
            name = securityIdentity.getPrincipal().getName();
        }

        return name;
    }
673482
public static <T> ObjectName getObjectName(final Class<T> clazz)
        {
        final String domain = clazz.getPackage().getName();
        final String className = clazz.getSimpleName();
        final String objectName = domain+":type="+className;
        LOG.debug("Returning object name: {}", objectName);
        try
            {
            return new ObjectName(objectName);
            }
        catch (final MalformedObjectNameException e)
            {
            // This should never, ever happen.
            LOG.error("Invalid ObjectName: "+objectName, e);
            throw new RuntimeException("Could not create ObjectName?", e);
            }
        }
935309
public static NameSpace getThisNS(Object object) {
        if (null == object)
            return null;
        Class<?> type = object.getClass();
        if (!isGeneratedClass(type))
            return null;
        try {
            return getClassInstanceThis(object, type.getSimpleName()).namespace;
        } catch (Exception e) {
            return null;
        }
    }
1145254
public function GetObjectName() 
	{
		if (is_numeric(substr($this->Name, 0, 1))) {
			return self::$NUMERIC_TABLE_PREFIX . $this->Name;
		}
		
		return $this->Name;
	}
1254714
public String [] getNames() {
		String [] result = new String[parameters.size()];
		parameters.keySet().toArray(result);
		return result;
	}
1263628
public static String[] getNames(Object object) {
		if (object == null) {
			return null;
		}
		Class<? extends Object> klass = object.getClass();
		Field[] fields = klass.getFields();
		int length = fields.length;
		if (length == 0) {
			return null;
		}
		String[] names = new String[length];
		for (int i = 0; i < length; i += 1) {
			names[i] = fields[i].getName();
		}
		return names;
	}