/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }
/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }
/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }
/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }
/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }
/** * Returns the abstract type declaration of this local type declaration * statement (added in JLS3 API). * * @return the type declaration node * @since 3.1 */ public AbstractTypeDeclaration getDeclaration() { if (this.typeDecl == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.typeDecl == null) { preLazyInit(); this.typeDecl = new TypeDeclaration(this.ast); postLazyInit(this.typeDecl, typeDeclProperty()); } } } return this.typeDecl; }