public WebServiceAp(WsgenOptions options, PrintStream out) { this.options = options; this.sourceDir = (options != null) ? options.sourceDir : null; this.doNotOverWrite = (options != null) && options.doNotOverWrite; this.context = new AnnotationProcessorContext(); this.out = out; }
public SeiContext getSeiContext(Name seiName) { SeiContext context = seiContextMap.get(seiName); if (context == null) { context = new SeiContext(); addSeiContext(seiName, context); } return context; }
public SeiContext getSeiContext(TypeElement d) { return getSeiContext(d.getQualifiedName()); }
protected void preProcessWebService(WebService webService, TypeElement element) { processedMethods = new HashSet<String>(); seiContext = context.getSeiContext(element); String targetNamespace = null; if (webService != null) if (serviceImplName != null) { seiContext.setSeiImplName(serviceImplName); context.addSeiContext(serviceImplName, seiContext);
@Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { if (context.getRound() != 1) { return true; context.incrementRound(); WebService webService; WebServiceProvider webServiceProvider;
protected boolean isLegalType(TypeMirror type) { if (!(type != null && type.getKind().equals(TypeKind.DECLARED))) return true; TypeElement tE = (TypeElement) ((DeclaredType) type).asElement(); if (tE == null) { // can be null, if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file. builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(type.toString(), context.getRound())); } return !builder.isRemote(tE); }
protected void preProcessWebService(WebService webService, TypeElement element) { processedMethods = new HashSet<String>(); seiContext = context.getSeiContext(element); String targetNamespace = null; if (webService != null) if (serviceImplName != null) { seiContext.setSeiImplName(serviceImplName); context.addSeiContext(serviceImplName, seiContext);
@Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { if (context.getRound() != 1) { return true; context.incrementRound(); WebService webService; WebServiceProvider webServiceProvider;
protected boolean isLegalType(TypeMirror type) { if (!(type != null && type.getKind().equals(TypeKind.DECLARED))) return true; TypeElement tE = (TypeElement) ((DeclaredType) type).asElement(); if (tE == null) { // can be null, if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file. builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(type.toString(), context.getRound())); } return !builder.isRemote(tE); }
protected void preProcessWebService(WebService webService, TypeElement element) { processedMethods = new HashSet<String>(); seiContext = context.getSeiContext(element); String targetNamespace = null; if (webService != null) if (serviceImplName != null) { seiContext.setSeiImplName(serviceImplName); context.addSeiContext(serviceImplName, seiContext);
@Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { if (context.getRound() != 1) { return true; context.incrementRound(); WebService webService; WebServiceProvider webServiceProvider;
protected boolean isLegalType(TypeMirror type) { if (!(type != null && type.getKind().equals(TypeKind.DECLARED))) return true; TypeElement tE = (TypeElement) ((DeclaredType) type).asElement(); if (tE == null) { // can be null, if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file. builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(type.toString(), context.getRound())); } return !builder.isRemote(tE); }
public WebServiceAp(WsgenOptions options, PrintStream out) { this.options = options; this.sourceDir = (options != null) ? options.sourceDir : null; this.doNotOverWrite = (options != null) && options.doNotOverWrite; this.context = new AnnotationProcessorContext(); this.out = out; }
public SeiContext getSeiContext(TypeElement d) { return getSeiContext(d.getQualifiedName()); }
public SeiContext getSeiContext(Name seiName) { SeiContext context = seiContextMap.get(seiName); if (context == null) { context = new SeiContext(); addSeiContext(seiName, context); } return context; }
protected void preProcessWebService(WebService webService, TypeElement element) { processedMethods = new HashSet<String>(); seiContext = context.getSeiContext(element); String targetNamespace = null; if (webService != null) if (serviceImplName != null) { seiContext.setSeiImplName(serviceImplName); context.addSeiContext(serviceImplName, seiContext);
@Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { if (context.getRound() != 1) { return true; context.incrementRound(); WebService webService; WebServiceProvider webServiceProvider;
protected boolean isLegalType(TypeMirror type) { if (!(type != null && type.getKind().equals(TypeKind.DECLARED))) return true; TypeElement tE = (TypeElement) ((DeclaredType) type).asElement(); if (tE == null) { // can be null, if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file. builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(type.toString(), context.getRound())); } return !builder.isRemote(tE); }
public WebServiceAp(WsgenOptions options, PrintStream out) { this.options = options; this.sourceDir = (options != null) ? options.sourceDir : null; this.doNotOverWrite = (options != null) && options.doNotOverWrite; this.context = new AnnotationProcessorContext(); this.out = out; }
public SeiContext getSeiContext(TypeElement d) { return getSeiContext(d.getQualifiedName()); }