1.1 --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -124,14 +124,17 @@ 1.11 super(annReader, nav, beanMemberFactory); 1.12 } 1.13 1.14 + @Override 1.15 protected TypeMirror getSafeType(TypeMirror type) { 1.16 return WebServiceWrapperGenerator.this.getSafeType(type); 1.17 } 1.18 1.19 + @Override 1.20 protected TypeMirror getHolderValueType(TypeMirror paramType) { 1.21 return builder.getHolderValueType(paramType); 1.22 } 1.23 1.24 + @Override 1.25 protected boolean isVoidType(TypeMirror type) { 1.26 return type != null && type.getKind().equals(TypeKind.VOID); 1.27 } 1.28 @@ -140,6 +143,7 @@ 1.29 1.30 private static final class FieldFactory implements AbstractWrapperBeanGenerator.BeanMemberFactory<TypeMirror, MemberInfo> { 1.31 1.32 + @Override 1.33 public MemberInfo createWrapperBeanMember(TypeMirror paramType, 1.34 String paramName, List<Annotation> jaxb) { 1.35 return new MemberInfo(paramType, paramName, jaxb); 1.36 @@ -151,17 +155,20 @@ 1.37 makeSafeVisitor = new MakeSafeTypeVisitor(builder.getProcessingEnvironment()); 1.38 } 1.39 1.40 + @Override 1.41 protected void processWebService(WebService webService, TypeElement d) { 1.42 cm = new JCodeModel(); 1.43 wrapperNames = new HashSet<String>(); 1.44 processedExceptions = new HashSet<String>(); 1.45 } 1.46 1.47 + @Override 1.48 protected void postProcessWebService(WebService webService, TypeElement d) { 1.49 super.postProcessWebService(webService, d); 1.50 doPostProcessWebService(webService, d); 1.51 } 1.52 1.53 + @SuppressWarnings("CallToThreadDumpStack") 1.54 protected void doPostProcessWebService(WebService webService, TypeElement d) { 1.55 if (cm != null) { 1.56 File sourceDir = builder.getSourceDir(); 1.57 @@ -178,6 +185,7 @@ 1.58 } 1.59 } 1.60 1.61 + @Override 1.62 protected void processMethod(ExecutableElement method, WebMethod webMethod) { 1.63 builder.log("WrapperGen - method: "+method); 1.64 builder.log("method.getDeclaringType(): " + method.asType());