[JBoss JIRA] (CDI-647) Introduce a parent pom for CDI
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/CDI-647?page=com.atlassian.jira.plugin.sy... ]
Matej Novotny commented on CDI-647:
-----------------------------------
-1 from me. There is no relation to Weld *impl*, but only to a parental POM, which merely declares plugin versions. I cannot really see the harm there.
BTW [~tremes], TCK has the same "problem".
> Introduce a parent pom for CDI
> ------------------------------
>
> Key: CDI-647
> URL: https://issues.jboss.org/browse/CDI-647
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Affects Versions: 2.0-EDR2
> Reporter: John Ament
>
> Introduce a new parent pom for the CDI API, to avoid the odd relationship between the weld impl and CDI API.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (CDI-647) Introduce a parent pom for CDI
by John Ament (JIRA)
John Ament created CDI-647:
------------------------------
Summary: Introduce a parent pom for CDI
Key: CDI-647
URL: https://issues.jboss.org/browse/CDI-647
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 2.0-EDR2
Reporter: John Ament
Introduce a new parent pom for the CDI API, to avoid the odd relationship between the weld impl and CDI API.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (CDI-481) Introduce AnnotatedParameter.getJavaParameter()
by Martin Kouba (JIRA)
[ https://issues.jboss.org/browse/CDI-481?page=com.atlassian.jira.plugin.sy... ]
Martin Kouba reassigned CDI-481:
--------------------------------
Assignee: Martin Kouba
> Introduce AnnotatedParameter.getJavaParameter()
> -----------------------------------------------
>
> Key: CDI-481
> URL: https://issues.jboss.org/browse/CDI-481
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Portable Extensions
> Reporter: Jozef Hartinger
> Assignee: Martin Kouba
> Fix For: 2.0 .Final
>
>
> Make it possible to obtain the Java Reflection object representing the parameter. This is in line with
> AnnotatedField.getJavaMember()
> AnnotatedMethod.getJavaMember()
> AnnotatedConstructor.getJavaMember()
> Can be implemented as a default method such as:
> {code:JAVA}
> default Parameter getJavaParameter() {
> Member member = getDeclaringCallable().getJavaMember();
> if (!(member instanceof Executable)) {
> throw new IllegalStateException("Parameter does not belong to an executable " + member);
> }
> Executable executable = (Executable) member;
> return executable.getParameters()[getPosition()];
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (CDI-481) Introduce AnnotatedParameter.getJavaParameter()
by Martin Kouba (JIRA)
[ https://issues.jboss.org/browse/CDI-481?page=com.atlassian.jira.plugin.sy... ]
Martin Kouba updated CDI-481:
-----------------------------
Fix Version/s: 2.0 .Final
> Introduce AnnotatedParameter.getJavaParameter()
> -----------------------------------------------
>
> Key: CDI-481
> URL: https://issues.jboss.org/browse/CDI-481
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Portable Extensions
> Reporter: Jozef Hartinger
> Fix For: 2.0 .Final
>
>
> Make it possible to obtain the Java Reflection object representing the parameter. This is in line with
> AnnotatedField.getJavaMember()
> AnnotatedMethod.getJavaMember()
> AnnotatedConstructor.getJavaMember()
> Can be implemented as a default method such as:
> {code:JAVA}
> default Parameter getJavaParameter() {
> Member member = getDeclaringCallable().getJavaMember();
> if (!(member instanceof Executable)) {
> throw new IllegalStateException("Parameter does not belong to an executable " + member);
> }
> Executable executable = (Executable) member;
> return executable.getParameters()[getPosition()];
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months