< prev index next >

src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JCodeModel.java

Print this page

        

*** 57,67 **** * cm.build(new File(".")); * </pre> * * <p> * Every CodeModel node is always owned by one {@link JCodeModel} object ! * at any given time (which can be often accesesd by the <tt>owner()</tt> method.) * * As such, when you generate Java code, most of the operation works * in a top-down fashion. For example, you create a class from {@link JCodeModel}, * which gives you a {@link JDefinedClass}. Then you invoke a method on it * to generate a new method, which gives you {@link JMethod}, and so on. --- 57,67 ---- * cm.build(new File(".")); * </pre> * * <p> * Every CodeModel node is always owned by one {@link JCodeModel} object ! * at any given time (which can be often accesesd by the {@code owner()} method.) * * As such, when you generate Java code, most of the operation works * in a top-down fashion. For example, you create a class from {@link JCodeModel}, * which gives you a {@link JDefinedClass}. Then you invoke a method on it * to generate a new method, which gives you {@link JMethod}, and so on.
*** 633,643 **** } } /** * Conversion from primitive type {@link Class} (such as {@link Integer#TYPE} ! * to its boxed type (such as <tt>Integer.class</tt>) */ public static final Map<Class<?>,Class<?>> primitiveToBox; /** * The reverse look up for {@link #primitiveToBox} */ --- 633,643 ---- } } /** * Conversion from primitive type {@link Class} (such as {@link Integer#TYPE} ! * to its boxed type (such as {@code Integer.class}) */ public static final Map<Class<?>,Class<?>> primitiveToBox; /** * The reverse look up for {@link #primitiveToBox} */
< prev index next >