Java 类org.yaml.snakeyaml.introspector.MissingProperty 实例源码

项目:cassandra-kmean    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:ACaZoo    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:scylla-tools-java    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:GraphTrek    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:stratio-cassandra    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:cassandra-cqlMod    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:cassandra-trunk    文件:YamlConfigurationLoader.java   
@Override
public Property getProperty(Class<? extends Object> type, String name) throws IntrospectionException
{
    Property result = super.getProperty(type, name);
    if (result instanceof MissingProperty)
    {
        missingProperties.add(result.getName());
    }
    return result;
}
项目:ServerListPlus    文件:ConfigurationPropertyUtils.java   
@Override // Print warning for unknown properties
public Property getProperty(Class<?> type, String name, BeanAccess bAccess) throws IntrospectionException {
    if (bAccess != BeanAccess.FIELD) return super.getProperty(type, name, bAccess);
    Property p = super.getProperty(type, Helper.toLowerCase(name), bAccess);
    // Check if property was missing and notify user if necessary
    if ((p instanceof MissingProperty) && type != UnknownConf.class)
        core.getLogger().log(WARN, "Unknown configuration property: {} @ {}", name, type.getSimpleName());
    return p;
}