Gets the specific property, or null.
489844
public <T extends UserProperty> T getProperty(Class<T> clazz) {
        for (UserProperty p : properties) {
            if (clazz.isInstance(p))
                return clazz.cast(p);
        }
        return null;
    }
757600
@Nullable
  private String getProperty(final String name) {
    assert name != null;
    ensureConfigured();
    return evaluate(System.getProperty(name, props.getProperty(name)));
  }
937860
public String getValue(String property) {
		String value = null;
		List<String> values = getValues(property);
		if (!values.isEmpty()) {
			value = values.get(0);
		}
		return value;
	}
1122463
@InterfaceAudience.Public
    public Object getProperty(String key) {
        if (getCurrentRevision() != null &&
                getCurrentRevision().getProperties().containsKey(key)) {
            return getCurrentRevision().getProperties().get(key);
        }
        return null;
    }
676969
function getProperties( property ) {
    var properties = property[ PROPERTY_SYMBOL ];
    if ( !Array.isArray( properties ) ) return null;
    return properties;
}
348653
public String getProperty(String name) {
      Object oval = props.get(name);
      String sval = (oval instanceof String) ? (String) oval : null;
      return sval;
    }
839594
@SuppressWarnings("rawtypes")
	@Override
	public Object getProperty(final Map cx, final Object target, final Object name) throws OgnlException {
		return target == null ? null : ((Parameter) target).getValue();
	}
502699
def _get_property(self):
        """"""
        line = self.next_line()
        if line is None:
            return None
        elif line.startswith(b'property '):
            return self._name_value(line[len(b'property '):])
        else:
            self.push_line(line)
            return None
310982
public String getFirstPropertyValue(String property) {
        Iterator<String> it = getValues(property).iterator();
        return it.hasNext() ? it.next() : null;
    }
911058
public String getProperty(String key) {
        key = UniformUtils.checkPropertyNameAndLowerCase(key);

        if (properties == null) {
            return null;
        }
        return properties.get(key);
    }
118424
@Deprecated
    public Object getProperty(String name) {
        CleverTapAPI cleverTapAPI = weakReference.get();
        if (cleverTapAPI == null) {
            Logger.d("CleverTap Instance is null.");
            return null;
        } else {
            return cleverTapAPI.getProperty(name);
        }
    }
824706
public static String getStringProperty(Properties properties, String key) {
        String property = properties.getProperty(key);
        return property != null && property.trim().isEmpty() ? null : property;
    }
1297514
public static <T> T getValue(ValuedProperty<T> property) {
		return (property == null) ? null : property.getValue();
	}
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;
    }
474159
def get_property(obj, name):
        
        if obj == None:
            raise Exception("Object cannot be null")
        if name == None:
            raise Exception("Property name cannot be null")
        
        name = name.lower()
        
        try:
            for property_name in dir(obj): 
                if property_name.lower() != name:
                    continue

                property = getattr(obj, property_name)

                if PropertyReflector._is_property(property, property_name):
                    return property
        except:
            pass
        
        return None
1338267
public PropertyDescriptor findPropertyDescriptor(String propertyName) {
        for (PropertyDescriptor property : propertyDescriptors) {
            if (property.getName().equals(propertyName)) {
                return property;
            }
        }

        return null;
    }
405948
public T get()
	{
		T value = get(null);

		if (value == null)
			throw new RuntimeException("Missing property for JAXB resource: " + name);
		else
			return value;
	}