Returns the list of MoufPropertyDescriptor that can be injected via a public property of the class.

@return MoufPropertyDescriptor[] An associative array. The key is the name of the argument.
13254
public function getInjectablePropertiesByPublicProperty() {
    	if ($this->injectablePropertiesByPublicProperty === null) {
	    	$moufProperties = array();
	    	foreach($this->getProperties() as $attribute) {
	    		/* @var $attribute MoufXmlReflectionProperty */
	    		//if ($attribute->hasAnnotation("Property")) {
	    		if ($attribute->isPublic() && !$attribute->isStatic()) {
	    			// We might want to catch it and to display it properly
	    			$propertyDescriptor = new MoufPropertyDescriptor($attribute);
	    			$moufProperties[$attribute->getName()] = $propertyDescriptor;
	    		}
	    		//}
	    	}
	    	$this->injectablePropertiesByPublicProperty = $moufProperties;
    	}
    	return $this->injectablePropertiesByPublicProperty;
    }
1108186
public function getParameters()
    {
        $parameters     = parent::getParameters();
        $moufParameters = array();
        foreach ($parameters as $parameter) {
            $moufParameters[] = new MoufReflectionParameter($this, $parameter->getName(), $this->refClass);
        }
        
        return $moufParameters;
    }
961195
public function getStaticProperties()
    {
        // In runtime static properties can be changed in any time
        if ($this->isInitialized()) {
            return parent::getStaticProperties();
        }

        $properties = [];

        $reflectionProperties = $this->getProperties(ReflectionProperty::IS_STATIC);
        foreach ($reflectionProperties as $reflectionProperty) {
            if (!$reflectionProperty instanceof ReflectionProperty) {
                if (!$reflectionProperty->isPublic()) {
                    $reflectionProperty->setAccessible(true);
                }
            }
            $properties[$reflectionProperty->getName()] = $reflectionProperty->getValue();
        }

        return $properties;
    }
695040
protected function propertiesFromAttributes(): array
    {
        // Get all managed properties
        $propertyNames = $this->entityMap->getProperties();

        $propertyAttributes = array_only($this->attributes, $propertyNames);
        $attributesArray = array_except($this->attributes, $propertyNames);

        $attributesArrayName = $this->entityMap->getAttributesArrayName();

        if ($attributesArrayName) {
            $propertyAttributes[$attributesArrayName] = $attributesArray;
        }

        return $propertyAttributes;
    }
1227230
public String[] get_property_list() {
        String[] array = new String[size()];
        for (int i = 0; i < size(); i++)
            array[i] = datum(i).name;
        return array;
    }
1235577
public function getProperties() {
    $properties = array();
    foreach ($this->properties as $property) {
      if ($property->getDeclaringClass() instanceof GClass && 
          $property->getDeclaringClass()->equals($this)) {
        $properties[$property->getName()] = $property;
      }
    }
    return $properties;
  }
1051864
protected function getManagedProperties(): array
    {
        $properties = $this->entityMap->getProperties();

        $attributesName = $this->entityMap->getAttributesArrayName();

        return $attributesName == null ? $properties : array_merge($properties, [$attributesName]);
    }
728234
public function getProperties()
    {
        if (is_object($this->contentObjectProxy)) {
            return ObjectAccess::getGettableProperties($this->contentObjectProxy->getObject());
        }

        $properties = [];
        foreach ($this->properties as $propertyName => $propertyValue) {
            $properties[$propertyName] = $this->getProperty($propertyName);
        }
        return $properties;
    }
359788
public function toArray()
    {
        $array = ['name' => $this->getName()];

        foreach (static::$propertyMap[static::class] as $name => $property) {
            $value = $this->{$name};
            $array[$name] = $value instanceof XType ? $value->toArray() : $value;
        }

        if (!count($this->constraints)) {
            return $array;
        }

        $array['constraints'] = [];

        foreach ($this->constraints as $name=>$parameters) {
            $array['constraints'][$name] = $parameters;
        }

        return $array;
    }
1290536
public function getProperties()
    {
        if ($this->properties === null) {
            // lazy load class properties list
            $this->properties = array();
            foreach ($this->node->stmts as $stmt) {
                if ($stmt instanceof Node\Stmt\Property) {
                    $this->properties[] = new PropertyModel($this, $stmt);
                }
            }
        }
        return array_values($this->properties);
    }
827327
public function toArray()
    {
        $array = array();

        foreach($this->_data as $key=>$value)
            $array[$key] = ($value instanceof PropertyReference) ? $value->value() : $value;

        return $array;
    }
452033
public PropertyDescriptor[] getPropertyDescriptors() {

        try {

            return new PropertyDescriptor[] {
                new PropertyDescriptor("name", JMSReceiver.class),
                new PropertyDescriptor("topicFactoryName", JMSReceiver.class),
                new PropertyDescriptor("topicName", JMSReceiver.class),
                new PropertyDescriptor("threshold", JMSReceiver.class),
                new PropertyDescriptor("jndiPath", JMSReceiver.class),
                new PropertyDescriptor("userId",
                        JMSReceiver.class),
            };
        } catch (Exception e) {
        }

        return null;
    }
277498
private PropertyDescriptor[] getPropertyDescriptors() {
        PropertyDescriptor[] pd;
        try {
            pd = Introspector.getBeanInfo(this.getClass()).
                    getPropertyDescriptors();
        } catch (IntrospectionException e) {
            throw new FacesException(e);
        }
        return (pd);
    }
991741
public function getProperties()
    {
        $names = array_keys($this->getValue('properties'));
        $result = [];
        foreach ($names as $name) {
            $result[$name] = $this->get($name);
        }

        return $result;
    }
1341077
public PropertyDescriptor[] getPropertyDescriptors() {

        try {

            return new PropertyDescriptor[] {
                new PropertyDescriptor("name", MulticastReceiver.class),
                new PropertyDescriptor("address", MulticastReceiver.class),
                new PropertyDescriptor("port", MulticastReceiver.class),
                new PropertyDescriptor("threshold", MulticastReceiver.class),
                new PropertyDescriptor("decoder", MulticastReceiver.class),
                new PropertyDescriptor("advertiseViaMulticastDNS", MulticastReceiver.class),
            };
        } catch (Exception e) {
        }

        return null;
    }
59096
public function getPublicMethods($class)
    {
        if (!$class instanceof ClassDescriptor) {
            return [];
        }

        $methods = $class->getMagicMethods()
            ->merge($class->getInheritedMethods())
            ->merge($class->getMethods());

        return array_filter(
            $methods->getAll(),
            function (MethodDescriptor $method) {
                return $method->getVisibility() === 'public';
            }
        );
    }
386897
public function fieldNames()
    {
        if ($this->hasProperty()) {
            $property = $this->property();
            if ($property instanceof StorablePropertyInterface) {
                return $property->fieldNames();
            } else {
                return [ $property ];
            }
        }

        return [];
    }