Gets the type for a property setter.

@param name the name of the property
@return the Class of the property setter
@throws NoSuchMethodException when a setter method cannot be found
835
public Class<?> getSetterType(String name) throws NoSuchMethodException {
        Class<?> type = setterTypes.get(name);
        if (type == null) {
            throw new NoSuchMethodException("There is no WRITABLE property named '" + name +
                    "' in class '" + className + "'");
        }
        return type;
    }
1367302
public static Class getPrimitiveWrapperClassType(String name) {
        if ("string".equals(name)) {
            return String.class;
        } else if ("boolean".equals(name)) {
            return Boolean.class;
        } else if ("integer".equals(name)) {
            return Integer.class;
        } else if ("number".equals(name)) {
            return Float.class;
        }

        return null;
    }
183449
public org.inferred.freebuilder.processor.property.Property.Builder setName(String name) {
    this.name = Objects.requireNonNull(name);
    _unsetProperties.remove(Property.NAME);
    return (org.inferred.freebuilder.processor.property.Property.Builder) this;
  }
33223
public <T extends AbstractSchemaProperty> T get(final Class<T> clazz, final String name) {
        Set<T> propertyCollection = get(clazz);
        for (T property : propertyCollection) {
            if (property.getName().equals(name)) {
                return property;
            }
        }
        return null;
    }
701831
public static int valueFromName(String name) {
        if (name.equals(TYPENAME_SIMPLE_REFERENCE)) {
            return SIMPLE_REFERENCE;
        }
        return javax.jcr.PropertyType.valueFromName(name);
    }
227021
protected Method getGetter(Class type, String name)
    {
        return introspector(type).getGetter( toJavaIdentifierForm(name));
    }
765414
public static Class<?> classFind(String name) {
        try {
            return Class.forName(name);
        } catch (ClassNotFoundException e) {
            return findType(name).type;
        }
    }
615669
Class<?> getPropertyType( Clazz<?> clazz, String name )
	{
		ClassInfoCache cache = retrieveCache( clazz );

		Class<?> res = cache.getPropertyType( name );
		if( res != null )
			return res;

		Class<?> getterType = getGetterPropertyType( clazz, name );
		if( getterType == null )
			return null;

		Class<?> setterType = getSetterPropertyType( clazz, name );
		if( setterType == null )
			return null;

		if( getterType != setterType )
			return null;

		cache.setPropertyType( name, getterType );

		return getterType;
	}
1131051
public PropertyBuilder string(final String name) {
        name(name);
        type(Property.Type.String);
        return this;
    }
1114365
public static Class<?> getGetterPropertyType( Clazz<?> clazz, String name )
	{
		return propertyValues.getGetterPropertyType(clazz, name);
	}
933985
public Method getSetter(String name) throws NoSuchMethodException {
        Method method = setterMethods.get(name);
        if (method == null) {
            throw new NoSuchMethodException("There is no WRITABLE property named '" + name +
                    "' in class '" + className + "'");
        }
        return method;
    }
252467
public static Method getSetterPropertyMethod(Class<?> type,
			String propertyName) {
		String sourceMethodName = "set"
				+ BeanUtils.capitalizePropertyName(propertyName);

		Method sourceMethod = BeanUtils.getMethod(type, sourceMethodName);

		return sourceMethod;
	}
22866
@SuppressWarnings("unchecked")
    protected Class<? extends Annotation> annotationTypeForName(String name) {
        try {
            return (Class<? extends Annotation>) resourceLoader.classForName(name);
        } catch (ResourceLoadingException cnfe) {
            return DUMMY_ANNOTATION;
        }
    }
269259
public int getProperty(String name) {
        checkNotNull(name);
        try {
            // tty properties are cached so we don't have to worry too much about getting term widht/height
            if (config == null || System.currentTimeMillis() - configLastFetched > 1000 ) {
                config = get("-a");
                configLastFetched = System.currentTimeMillis();
            }
            return this.getProperty(name, config);
        } catch (Exception e) {
            return -1;
        }
    }
1212026
public Object getProperty(String name) throws IllegalArgumentException {
		if (name == null) {
			throw new IllegalArgumentException("property name can not be null");
		}
		if (PROPERTY_SERIALIZER_INDENTATION.equals(name)) {
			return indentationString;
		} else if (PROPERTY_SERIALIZER_LINE_SEPARATOR.equals(name)) {
			return lineSeparator;
		} else if (PROPERTY_LOCATION.equals(name)) {
			return location;
		} else {
			return null;
		}
	}
403127
public Property getProperty(String... name) {
        if (name == null || name.length == 0) return null;

        for (Property p : properties) {
            if (Objects.equals(name[0], p.name)) {
                if (name.length == 1)
                    return p;
                else
                    return p.getProperty(Arrays.copyOfRange(name, 1, name.length));
            }
        }
        return null;
    }
1100461
public static String getProperty(String name) {
        if (propertyProvider == null) {
            initPropertyProvider();
        }
        
        return propertyProvider.getProperty(name);
    }