/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
/** * Returns the type declaration of this local type declaration * statement (JLS2 API only). * * @return the type declaration node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS2 * @deprecated In the JLS3 API, this method is replaced by * {@link #getDeclaration()}, which returns <code>AbstractTypeDeclaration</code> * instead of <code>TypeDeclaration</code>. */ public TypeDeclaration getTypeDeclaration() { return internalGetTypeDeclaration(); }
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;
switch(this.ast.apiLevel) { case AST.JLS2_INTERNAL : TypeDeclaration typeDecl = typeDeclarationStatement.internalGetTypeDeclaration(); typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength()); break;