Get the property key to use.
In case the {@link ConfigProperty#name()} is empty we will try to determine the key name from the InjectionPoint.
558183
static String getConfigKey(InjectionPoint ip, ConfigProperty configProperty) {
        String key = configProperty.name();
        if (key.length() > 0) {
            return key;
        }
        if (ip.getAnnotated() instanceof AnnotatedMember) {
            AnnotatedMember member = (AnnotatedMember) ip.getAnnotated();
            AnnotatedType declaringType = member.getDeclaringType();
            if (declaringType != null) {
                return declaringType.getJavaClass().getCanonicalName() + "." + member.getJavaMember().getName();
            }
        }

        throw new IllegalStateException("Could not find default name for @ConfigProperty InjectionPoint " + ip);
    }
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;
        }
    }
966835
public String getProperty(String key,String defaultValue)
    {
        //get property value
        return this.PROPERTIES.getProperty(key,defaultValue);
    }
653674
public static String getProperty(final String propName) {
        try {
            return System.getProperty(propName);
        } catch (final SecurityException e) {
            return null;
        }
    }
532868
def property_key(prop)
      prop_key = prop.name.join
      prop_value = value_as_string(prop.value.first)

      # Differentiate between values for different vendor prefixes
      prop_value.to_s.scan(/^(-[^-]+-.+)/) do |vendor_keyword|
        prop_key << vendor_keyword.first
      end

      prop_key
    end
705968
public String get(ConfigKey pKey) {
        String value = globalConfig.get(pKey);
        if (value == null) {
            value = pKey.getDefaultValue();
        }
        return value;
    }
687165
@Override
  public Config getOwnConfig(final ConfigKeyPath configKey) {
    try {
      return this.ownConfigCache.get(configKey, new Callable<Config>() {
        @Override
        public Config call()  {
          return InMemoryValueInspector.this.valueFallback.getOwnConfig(configKey);
        }
      });
    } catch (ExecutionException e) {
      // should NOT come here
      throw new RuntimeException("Can not getOwnConfig for " + configKey);
    }
  }
1214891
public String getProperty(String key)
    {
        if (properties == null)
            return null;
        String value = properties.get(key);
        if (value == null)
        {
            if (key.startsWith(PROPERTY_PREFIX))
                value = properties.get(key.substring(PROPERTY_PREFIX.length()));
            else
                value = properties.get(PROPERTY_PREFIX + key);
        }
        return value;
    }
1197892
@SuppressWarnings("unchecked")
	@Override
	public <T> T getProperty(Object key, Class<T> clazz) {
	    return (T)getProperty(key);
	}
1122463
@InterfaceAudience.Public
    public Object getProperty(String key) {
        if (getCurrentRevision() != null &&
                getCurrentRevision().getProperties().containsKey(key)) {
            return getCurrentRevision().getProperties().get(key);
        }
        return null;
    }
813352
public I_CmsPropertyProvider getPropertyProvider(String key) {

        if (key.startsWith(PROPERTY_PREFIX_DYNAMIC)) {
            key = key.substring(PROPERTY_PREFIX_DYNAMIC.length());
        }
        for (I_CmsPropertyProvider provider : m_propertyProviders) {
            if (provider.getName().equals(key)) {
                return provider;
            }
        }
        return null;
    }
570257
public static String getStringProperty(Configuration config, String key) throws DeployerConfigurationException {
        return getStringProperty(config, key, null);
    }
594411
@SuppressWarnings({"unused", "WeakerAccess"})
    public Object getProperty(String name) {
        if (!this.config.isPersonalizationEnabled()) return null;
        return getLocalDataStore().getProfileProperty(name);
    }
669182
public Property getProperty(String key) {
        for (Property property : m_properties) {
            if (property.getKey().equals(key)) {
                return property;
            }
        }
        
        return null;
    }
1325064
public String getConfigAttribute(Map<String, Object> props, String key) {
        return getConfigAttributeWithDefaultValue(props, key, null);
    }
1100461
public static String getProperty(String name) {
        if (propertyProvider == null) {
            initPropertyProvider();
        }
        
        return propertyProvider.getProperty(name);
    }
887956
String getProperty(String key) {
        String value = properties.get(key);
        if (value == null) {
            throw new RuntimeException("No property value found for key " + key);
        }
        return value;
    }