jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/Constructor.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, 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 |
56 */ |
56 */ |
57 public class Constructor |
57 public class Constructor |
58 { |
58 { |
59 // Since Constructor is typically built when there is no FieldItem |
59 // Since Constructor is typically built when there is no FieldItem |
60 // nor FieldUse, we need to rely on Strings. |
60 // nor FieldUse, we need to rely on Strings. |
61 public Constructor( String[] _fields ) { this.fields = _fields; } |
61 public Constructor( String[] _fields ) { this.fields = _fields.clone(); } |
62 |
62 |
63 /** array of field names to be initialized. */ |
63 /** array of field names to be initialized. */ |
64 public final String[] fields; |
64 public final String[] fields; |
65 } |
65 } |