Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9698

Replace interface IInjectionPointMethod by IInitializerMethod

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M4
    • None
    • cdi
    • None

      Right now we have IInjectionPoint that represents an injection point. Also we have a few interfaces which extends IInjectionPoint:
      IInjectionPointField - a filed annotated @Inject
      IInjectionPointParameter - a parameter of the method annotated @Inject
      IInjectionPointMethod - a method annotated @Inject

      IInjectionPointFiled and IInjectionPointParameter correctly extend IInjectionPoint since they are injection points. But IInjectionPointMethod is not an injection point. It's an initializer method actually. So let's introduce a new interface IInitializerMethod instead of IInjectionPointMethod. InitializerMethod should not extends IInjectionPoint.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: