jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/CReferencePropertyInfo.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
169 |
169 |
170 public <V> V accept(CPropertyVisitor<V> visitor) { |
170 public <V> V accept(CPropertyVisitor<V> visitor) { |
171 return visitor.onReference(this); |
171 return visitor.onReference(this); |
172 } |
172 } |
173 |
173 |
|
174 @Override |
|
175 public <R, P> R accept(CPropertyVisitor2<R, P> visitor, P p) { |
|
176 return visitor.visit(this, p); |
|
177 } |
|
178 |
174 public CAdapter getAdapter() { |
179 public CAdapter getAdapter() { |
175 return null; |
180 return null; |
176 } |
181 } |
177 |
182 |
178 public final PropertyKind kind() { |
183 public final PropertyKind kind() { |