/** * Returns the name of this module declaration. * * @return the module name */ public Name getName() { if (this.name == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.name == null) { preLazyInit(); this.name =this.ast.newQualifiedName( new SimpleName(this.ast), new SimpleName(this.ast)); postLazyInit(this.name, NAME_PROPERTY); } } } return this.name; }
/** * Returns the name of this module declaration. * * @return the module name */ public Name getName() { if (this.name == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.name == null) { preLazyInit(); this.name =this.ast.newQualifiedName( new SimpleName(this.ast), new SimpleName(this.ast)); postLazyInit(this.name, NAME_PROPERTY); } } } return this.name; }