X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ILocalVariable.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ILocalVariable.java index 1c9f549..c652b41 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ILocalVariable.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ILocalVariable.java @@ -12,16 +12,20 @@ package net.sourceforge.phpdt.core; /** * Represents a local variable declared in a method or an initializer. - * ILocalVariable are pseudo-elements created as the result of a ICodeAssist.codeSelect(...) - * operation. They are not part of the Java model (exists() returns whether the parent exists rather than - * whether the local variable exists in the parent) and they are not included in the children of an IMethod - * or an IInitializer. + * ILocalVariable are pseudo-elements created as the result of a + * ICodeAssist.codeSelect(...) operation. They are not part of + * the Java model (exists() returns whether the parent exists + * rather than whether the local variable exists in the parent) and they are not + * included in the children of an IMethod or an + * IInitializer. + *

+ * In particular such a pseudo-element should not be used as a handle. For + * example its name range won't be updated if the underlying source changes. + *

*

- * In particular such a pseudo-element should not be used as a handle. For example its name range won't be updated - * if the underlying source changes. - *

* This interface is not intended to be implemented by clients. *

+ * * @since 3.0 */ public interface ILocalVariable extends IJavaElement, ISourceReference { @@ -32,22 +36,22 @@ public interface ILocalVariable extends IJavaElement, ISourceReference { * @return the name of this local variable. */ String getElementName(); - + /** * Returns the source range of this local variable's name. - * + * * @return the source range of this local variable's name */ ISourceRange getNameRange(); - + /** * Returns the type signature of this local variable. *

- * The type signature may be either unresolved (for source types) - * or resolved (for binary types), and either basic (for basic types) - * or rich (for parameterized types). See {@link Signature} for details. + * The type signature may be either unresolved (for source types) or + * resolved (for binary types), and either basic (for basic types) or rich + * (for parameterized types). See {@link Signature} for details. *

- * + * * @return the type signature of this local variable. * @see Signature */