< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 271,281 **** * Creates an expression directly from a source code fragment. * * <p> * This method can be used as a short-cut to create a JExpression. * For example, instead of <code>_a.gt(_b)</code>, you can write ! * it as: <code>JExpr.direct("a>b")</code>. * * <p> * Be warned that there is a danger in using this method, * as it obfuscates the object model. */ --- 271,281 ---- * Creates an expression directly from a source code fragment. * * <p> * This method can be used as a short-cut to create a JExpression. * For example, instead of <code>_a.gt(_b)</code>, you can write ! * it as: {@code JExpr.direct("a>b")}. * * <p> * Be warned that there is a danger in using this method, * as it obfuscates the object model. */
< prev index next >