src/share/classes/javax/lang/model/element/VariableElement.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2006, 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) 2005, 2011, 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
*** 26,46 **** package javax.lang.model.element; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.Elements; - /** * Represents a field, {@code enum} constant, method or constructor ! * parameter, local variable, or exception parameter. * * @author Joseph D. Darcy * @author Scott Seligman * @author Peter von der Ahé * @since 1.6 */ - public interface VariableElement extends Element { /** * Returns the value of this variable if this is a {@code final} * field initialized to a compile-time constant. Returns {@code --- 26,45 ---- package javax.lang.model.element; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.Elements; /** * Represents a field, {@code enum} constant, method or constructor ! * parameter, local variable, resource variable, or exception ! * parameter. * * @author Joseph D. Darcy * @author Scott Seligman * @author Peter von der Ahé * @since 1.6 */ public interface VariableElement extends Element { /** * Returns the value of this variable if this is a {@code final} * field initialized to a compile-time constant. Returns {@code