src/share/classes/com/sun/codemodel/internal/JClassContainer.java

changeset 50
42dfec6871f6
parent 45
31822b475baa
equal deleted inserted replaced
46:a88ad84027a0 50:42dfec6871f6
143 * Name of the annotation Type declaration to be added to this package 143 * Name of the annotation Type declaration to be added to this package
144 * @return 144 * @return
145 * newly created Annotation Type Declaration 145 * newly created Annotation Type Declaration
146 * @exception JClassAlreadyExistsException 146 * @exception JClassAlreadyExistsException
147 * When the specified class/interface was already created. 147 * When the specified class/interface was already created.
148
148 */ 149 */
149 public JDefinedClass _annotationTypeDeclaration(String name) throws JClassAlreadyExistsException; 150 public JDefinedClass _annotationTypeDeclaration(String name) throws JClassAlreadyExistsException;
150 151
151 /** 152 /**
152 * Add a public enum to this package 153 * Add a public enum to this package
154 * Name of the enum to be added to this package 155 * Name of the enum to be added to this package
155 * @return 156 * @return
156 * newly created Enum 157 * newly created Enum
157 * @exception JClassAlreadyExistsException 158 * @exception JClassAlreadyExistsException
158 * When the specified class/interface was already created. 159 * When the specified class/interface was already created.
160
159 */ 161 */
160 public JDefinedClass _enum (String name) throws JClassAlreadyExistsException; 162 public JDefinedClass _enum (String name) throws JClassAlreadyExistsException;
161 163
162 } 164 }

mercurial