8000 Initialize attributes and reflect values in the model · Issue #19 · diverse-project/k3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Initialize attributes and reflect values in the model #19
Open
@tongbong

Description

@tongbong

si un aspect est délcaré comme ceci:

@Aspect(className=System)
class SystemAspect {
    public LinkedListMultimap sharedMemory = LinkedListMultimap.create
}

L'affectation ne passe pas par la méthode
SystemAspect.sharedMemory(System, LinkedListMultimap) mais est faite
dans

@SuppressWarnings("all")
public class SystemAspectSystemAspectProperties {
  public LinkedListMultimap sharedMemory = LinkedListMultimap.create
}

Du coup ces attributes ne sont pas initialisés dans le modèle.
Je m'en suis sorti en faisant l'affectation dans le getSharedMemory et
la méthode initialize pour la fifo.
Les méthodes statiques devraient être utilisées non?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0