Produce a generated JMX object name.

@return JMX object name of the form "[package_name]:type=[class_name],name=[named_value]"
514305
public static String generatedNameOf(Class<?> clazz, Named named)
    {
        return builder(clazz, named).build();
    }
362440
public String getPackageName(ClassProject.CodeType codeType)
    {
        if (codeType == null)
            codeType = ClassProject.CodeType.THICK;
        String packageName = this.getField(ClassInfo.CLASS_PACKAGE).toString();
        ClassProject classProject = (ClassProject)((ReferenceField)this.getField(ClassInfo.CLASS_PROJECT_ID)).getReference();
        if (classProject != null)
            if ((classProject.getEditMode() == DBConstants.EDIT_IN_PROGRESS) || (classProject.getEditMode() == DBConstants.EDIT_CURRENT))
                packageName = classProject.getFullPackage(codeType, packageName);
        return packageName;
    }
375881
private String parseOuterClassName() {
		StringBuilder sb = new StringBuilder();
		sb.append(parseJavaId());
		while (peekChar() == packageSeparator) { // '/' or '.'
			nextChar(packageSeparator);
			sb.append('.');
			sb.append(parseJavaId());
		}
		return sb.toString();
	}
807729
public String getTypeName() {
		String type = null;
		if (dataType != null) {
			type = dataType.name();
		}
		return type;
	}
954269
private String getFixedName (Class<? extends ComponentSystemEvent> cls)
    {
        StringBuilder result = new StringBuilder();
        String className;
        
        // Get the unqualified class name.
        
        className = cls.getSimpleName();
        
        // Strip the trailing "event" off the class name if present.
        
        if (className.toLowerCase().endsWith ("event"))
        {
            className = className.substring (0, result.length() - 5);
        }
        
        // Prepend the package name.
        
        if (cls.getPackage() != null)
        {
            result.append (cls.getPackage().getName());
            result.append ('.');
        }
        
        result.append (className);
        
        return result.toString();
    }
864990
public String getName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getName");
    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
      SibTr.debug(tc, "No implementation");
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getName", null);
    return null;
  }
745330
public String getWebServiceEndpointProxyClassName()
    {
        StringBuilder result = new StringBuilder();

        // Use the package of the EJB implementation.
        String packageName = packageName(ivBeanClass);

        if (packageName != null) {
            result.append(packageName);
            result.append('.');
        }

        result.append(endpointPrefix); // WSEJBProxy
        result.append(ivBeanType); // SL/SF/BMP/CMP, etc.
        result.append(ivBeanName); // First 32 characters
        result.append('_');
        result.append(ivHashSuffix); // 8 digit hashcode

        return result.toString();
    }
1362658
protected String get_object_type()
	{
		String name = this.getClass().getName();
		int index = name.lastIndexOf(".");
		if(index > 0)
			name = name.substring(index+1);
		index = name.lastIndexOf("_stats");
		if (index > 0) {	
			name = name.substring(0, index);
		}
		return name;
	}
76294
public String getName() {
    Class<? extends AbstractProcessApplication> processApplicationClass = getClass();
    String name = null;

    ProcessApplication annotation = processApplicationClass.getAnnotation(ProcessApplication.class);
    if (annotation != null) {
      name = annotation.value();

      if (name == null || name.length() == 0) {
        name = annotation.name();
      }
    }


    if (name == null || name.length() == 0) {
      name = autodetectProcessApplicationName();
    }

    return name;
  }
1037598
def get_classname(obj):
    
    if isinstance(obj, javabridge.JB_Object):
        cls = javabridge.call(obj, "getClass", "()Ljava/lang/Class;")
        return javabridge.call(cls, "getName", "()Ljava/lang/String;")
    elif inspect.isclass(obj):
        return obj.__module__ + "." + obj.__name__
    else:
        return get_classname(obj.__class__)
863688
public static ObjectName getMBeanObjectName(final ServletContext servletContext, final String resourceType,
			final String mBeanPrefix) {

		String contextPath = getContextPath(servletContext);
		return getJawrConfigMBeanObjectName(contextPath, resourceType, mBeanPrefix);
	}
711566
public String getTableName()
    {
        getEntityType();

        return this.entityType != null && !StringUtils.isBlank(((AbstractManagedType) this.entityType).getTableName()) ? ((AbstractManagedType) this.entityType)
                .getTableName() : tableName;
    }
1223621
@Override
	public String getClassName() {

		String name = getProperty(AbstractNode.name);
		if (name == null) {

			final String _sourceType = getSchemaNodeSourceType();
			final String _targetType = getSchemaNodeTargetType();
			final String _relType    = SchemaHelper.cleanPropertyName(getRelationshipType());

			name = _sourceType + _relType + _targetType;

			try {
				setProperty(AbstractNode.name, name);

			} catch (FrameworkException fex) {
				logger.warn("Unable to set relationship name to {}.", name);
			}
		}

		return name;
	}
919788
public String getName()
    {
        if (_name==null)
        {
            _name=this.getClass().getName();
            if (!log.isDebugEnabled())
                _name=_name.substring(_name.lastIndexOf('.')+1);
        }
        return _name;
    }
59343
public static ClassName generateDaoFactoryClassName(SQLiteDatabaseSchema schema) {
		String schemaName = buildDaoFactoryName(schema);

		String packageName=TypeUtility.extractPackageName(schema.getElement());
		return ClassName.get(packageName, schemaName);
	}
421034
private String getPackageName(ObjectMappableAnnotatedClass clazz) {
    PackageElement pkg = elements.getPackageOf(clazz.getElement());
    return pkg.isUnnamed() ? "" : pkg.getQualifiedName().toString();
  }
1063624
@Override
  public String getQualifiedName() {
    String prefix = StringUtil.defaultString(entityPrefix, "");
    String suffix = StringUtil.defaultString(entitySuffix, "");

    if (packageName == null || packageName.isEmpty()) {
      return prefix + simpleName + suffix;
    }

    return packageName + "." + prefix + simpleName + suffix;
  }