Stop using the old JSR250 annotation.
This will likely break a bunch of things because things further down the line were depending on narya bringing in this jar.
This commit is contained in:
@@ -231,7 +231,7 @@ public class GenServiceTask extends InvocationTask
|
||||
// import things marshaller will always need
|
||||
imports.add(sdesc.service);
|
||||
imports.add(InvocationMarshaller.class);
|
||||
imports.add("javax.annotation.Generated");
|
||||
imports.add("javax.annotation.processing.Generated");
|
||||
|
||||
// We only add a type parameter for the caller ClientObject type if the service has one
|
||||
if (sdesc.callerTypeSpecified) {
|
||||
@@ -512,7 +512,7 @@ public class GenServiceTask extends InvocationTask
|
||||
// import superclass and service
|
||||
imports.add(InvocationProvider.class);
|
||||
imports.add(sdesc.service);
|
||||
imports.add("javax.annotation.Generated");
|
||||
imports.add("javax.annotation.processing.Generated");
|
||||
|
||||
// any method that takes a listener may throw this
|
||||
if (sdesc.hasAnyListenerArgs()) {
|
||||
|
||||
@@ -203,7 +203,7 @@ public class SourceFile
|
||||
*/
|
||||
protected void addOrRemoveGeneratedImport (boolean add)
|
||||
{
|
||||
final String IMPORT = "import javax.annotation.Generated;";
|
||||
final String IMPORT = "import javax.annotation.processing.Generated;";
|
||||
|
||||
int packageLine = -1;
|
||||
int importLine = -1;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package {{package}};
|
||||
|
||||
import javax.annotation.Generated;
|
||||
import javax.annotation.processing.Generated;
|
||||
|
||||
{{#imports}}
|
||||
import {{this}};
|
||||
|
||||
Reference in New Issue
Block a user