public Collection<PropertyEntity> getProperties(Modifier modifier) {
        return properties.values().stream()
                .filter(propertyEntity -> propertyEntity.getModifier() == modifier)
                .collect(Collectors.toList());
    }
return empty list if success else list with not valid implemented methods in class

@param _interface
@return
jphp-runtime/src/php/runtime/reflection/ClassEntity.java