This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The annotations that are generated by JMI can be difficult to read if they have multliple attributes. @MyNormalAnnotation(securityMechID = "urn:liberty:security:2004-04:null:Bearer",serviceType = "urn:liberty:sample:cmtchips",resourceID = "urn:liberty:isf:implied-resource",endpoint = "http://hostname:port",directive = "GenerateBearerToken:AuthenticateRequester",userName = "amAdmin",password = "password",serverURL = "http://hostname:port") @MyNormalAnnotation(ejb-name="NameSessionBean",allow-concurrent-calls="True/False",allow-remove-during-transaction="True/False",bean-load-algorithm="NameAlgorithm",cache-type="NRU/LRU",call-router-class-name="ClassName",clients-on-same-server="True/False",create-as-principal-name="PrincipalName",default-transaction="DefaultTransactionOption",dispatch-policy="DispatchPolicyQueue",enable-call-by-reference="True/False",home-call-router-class-name="ClasName",home-is-clusterable="True/False",home-load-algorithm="LoadAlgorithmOption",idle-timeout-seconds="TimeoutValue",initial-beans-in-free-pool="InitialNumber",is-clusterable="True/False",max-beans-in-cache="MaxNumber",max-beans-in-free-pool="MaxNumber",methods-are-idempotent="True/False",passivate-as-principal-name="PrincipalName",persistent-store-dir="DirectoryName",remove-as-principal-name="PrincipalName",replication-type="InMemory/None",run-as="RoleName",run-as-identity-principal="PrincipalName",trans-timeout-seconds="Seconds",transaction-type="Bean/Container",type="Stateless/Stateful",use-caller-identity="True/False") This is a request to provide the option of generating attributes on separate lines, for the second and subsequent attributes. The annotations above would be generated like this; @MyNormalAnnotation(securityMechID = "urn:liberty:security:2004-04:null:Bearer", serviceType = "urn:liberty:sample:cmtchips", resourceID = "urn:liberty:isf:implied-resource", endpoint = "http://hostname:port", directive = "GenerateBearerToken:AuthenticateRequester", userName = "amAdmin", password = "password", serverURL = "http://hostname:port") @MyNormalAnnotation2(ejb-name="NameSessionBean", allow-concurrent-calls="True/False", allow-remove-during-transaction="True/False", bean-load-algorithm="NameAlgorithm", cache-type="NRU/LRU", call-router-class-name="ClassName", clients-on-same-server="True/False", create-as-principal-name="PrincipalName", default-transaction="DefaultTransactionOption", dispatch-policy="DispatchPolicyQueue", enable-call-by-reference="True/False", home-call-router-class-name="ClasName", home-is-clusterable="True/False", home-load-algorithm="LoadAlgorithmOption", idle-timeout-seconds="TimeoutValue", initial-beans-in-free-pool="InitialNumber", is-clusterable="True/False", max-beans-in-cache="MaxNumber", max-beans-in-free-pool="MaxNumber", methods-are-idempotent="True/False", passivate-as-principal-name="PrincipalName", persistent-store-dir="DirectoryName", remove-as-principal-name="PrincipalName", replication-type="InMemory/None", run-as="RoleName", run-as-identity-principal="PrincipalName", trans-timeout-seconds="Seconds", transaction-type="Bean/Container", type="Stateless/Stateful", use-caller-identity="True/False") @MySimpleAnnotation("some value", "another value", "one more") This would enhance readability of the annotations and make them easier to edit manually.
I agree this is a very reasonable request.
I am closing all reports in category Java/Unsupported as wontfix. These should be dead issues --- if the reported cases are against some live part of the NetBeans IDE please reopen and we can discuss to which category they belong.