[
https://issues.jboss.org/browse/JBIDE-18288?page=com.atlassian.jira.plugi...
]
Radoslav Rábara updated JBIDE-18288:
------------------------------------
Steps to Reproduce:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create Authorized annotation
{code}
import javax.ws.rs.NameBinding;
@NameBinding
public @interface Authorized {
}
{code}
ASSERT: There are 2 errors in Problems view:
{code}
The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its
type.
{code}
{code}
The Name Binding should have a @Target(ElementType.METHOD) annotation on its type.
{code}
STEP: Use Quick Fix to fix missing @Retention annotation via Problems view (left click on
the problem in Problems View and then select "Quick Fix" in the context menu)
ASSERT: Quick Fix was applied
STEP: Use another Quick Fix to fix missing @Target annotation via Problems view
FAIL: Option "Quick Fix" is disabled
was:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create Authorized annotation
{code}
import javax.ws.rs.NameBinding;
@NameBinding
public @interface Authorized {
}
{code}
ASSERT: There are 2 errors in Problems view:
{code}
The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its
type.
{code}
{code}
The Name Binding should have a @Target(ElementType.METHOD) annotation on its type.
{code}
STEP: Use Quick Fix to fix missing @Retention annotation via Problems view (left click on
the problem in Problems View and then select "Quick Fix" in the context menu)
STEP: Use Quick Fix to fix missing @Target annotation via Problems view
FAIL: Option "Quick Fix" is disabled
Quick Fix for NameBinding without Target annotation is disabled
---------------------------------------------------------------
Key: JBIDE-18288
URL:
https://issues.jboss.org/browse/JBIDE-18288
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.CR1
Reporter: Radoslav Rábara
Assignee: Xavier Coulon
Priority: Minor
Fix For: 4.2.0.CR2
Attachments: Screen Shot 2014-09-10 at 15.30.42.png
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)