diff options
author | Stephan Herrmann | 2010-09-26 14:31:00 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-09-26 14:31:00 +0000 |
commit | ab1b97641d02b0fd330844d183218bd64c5b7c48 (patch) | |
tree | 34a49dcf54ed02e126d126a5a1f29813bda41358 /org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java | |
parent | 67cbf1c60b1857b0a30f5dd1524bb2b884688ced (diff) | |
download | org.eclipse.objectteams-ab1b97641d02b0fd330844d183218bd64c5b7c48.tar.gz org.eclipse.objectteams-ab1b97641d02b0fd330844d183218bd64c5b7c48.tar.xz org.eclipse.objectteams-ab1b97641d02b0fd330844d183218bd64c5b7c48.zip |
preparation for merging with v_B14a: cleanup remove trailing white space
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java')
-rw-r--r-- | org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java index 031f49882..1cc2abcdb 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java @@ -22,11 +22,11 @@ import java.util.List; * EnumDeclaration * AnnotationTypeDeclaration * </pre> - * + * * @since 3.0 */ public abstract class AbstractTypeDeclaration extends BodyDeclaration { - + /** * The type name; lazily initialized; defaults to a unspecified, * legal Java class identifier. @@ -44,7 +44,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { /** * Returns structural property descriptor for the "bodyDeclarations" property * of this node. - * + * * @return the property descriptor */ abstract ChildListPropertyDescriptor internalBodyDeclarationsProperty(); @@ -52,7 +52,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { /** * Returns structural property descriptor for the "bodyDeclarations" property * of this node. - * + * * @return the property descriptor * @since 3.1 */ @@ -63,51 +63,51 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { /** * Returns structural property descriptor for the "name" property * of this node. - * + * * @return the property descriptor */ abstract ChildPropertyDescriptor internalNameProperty(); - + /** * Returns structural property descriptor for the "name" property * of this node. - * + * * @return the property descriptor * @since 3.1 */ public final ChildPropertyDescriptor getNameProperty() { return internalNameProperty(); } - + /** * Creates and returns a structural property descriptor for the * "bodyDeclaration" property declared on the given concrete node type. - * + * * @return the property descriptor */ static final ChildListPropertyDescriptor internalBodyDeclarationPropertyFactory(Class nodeClass) { return new ChildListPropertyDescriptor(nodeClass, "bodyDeclarations", BodyDeclaration.class, CYCLE_RISK); //$NON-NLS-1$ } - + /** * Creates and returns a structural property descriptor for the * "name" property declared on the given concrete node type. - * + * * @return the property descriptor */ static final ChildPropertyDescriptor internalNamePropertyFactory(Class nodeClass) { return new ChildPropertyDescriptor(nodeClass, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$ } - + /** - * Creates a new AST node for an abstract type declaration owned by the given + * Creates a new AST node for an abstract type declaration owned by the given * AST. * <p> - * N.B. This constructor is package-private; all subclasses must be - * declared in the same package; clients are unable to declare + * N.B. This constructor is package-private; all subclasses must be + * declared in the same package; clients are unable to declare * additional subclasses. * </p> - * + * * @param ast the AST that is to own this node */ AbstractTypeDeclaration(AST ast) { @@ -117,10 +117,10 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { /** * Returns the name of the type declared in this type declaration. - * + * * @return the type name node * @since 2.0 (originally declared on <code>TypeDeclaration</code>) - */ + */ public SimpleName getName() { if (this.typeName == null) { // lazy init must be thread-safe for readers @@ -134,11 +134,11 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { } return this.typeName; } - + /** * Sets the name of the type declared in this type declaration to the * given name. - * + * * @param typeName the new type name * @exception IllegalArgumentException if: * <ul> @@ -146,7 +146,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { * <li>the node already has a parent</li> * </ul> * @since 2.0 (originally declared on <code>TypeDeclaration</code>) - */ + */ public void setName(SimpleName typeName) { if (typeName == null) { throw new IllegalArgumentException(); @@ -159,17 +159,17 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { } /** - * Returns the live ordered list of body declarations of this type + * Returns the live ordered list of body declarations of this type * declaration. - * + * * @return the live list of body declarations * (element type: <code>BodyDeclaration</code>) * @since 2.0 (originally declared on <code>TypeDeclaration</code>) - */ + */ public List bodyDeclarations() { return this.bodyDeclarations; } - + /** * Returns whether this type declaration is a package member (that is, * a top-level type). @@ -177,7 +177,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { * Note that this is a convenience method that simply checks whether * this node's parent is a compilation unit node. * </p> - * + * * @return <code>true</code> if this type declaration is a child of * a compilation unit node, and <code>false</code> otherwise * @since 2.0 (originally declared on <code>TypeDeclaration</code>) @@ -191,10 +191,10 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { * Returns whether this type declaration is a type member. * <p> * Note that this is a convenience method that simply checks whether - * this node's parent is a type declaration node or an anonymous + * this node's parent is a type declaration node or an anonymous * class declaration. * </p> - * + * * @return <code>true</code> if this type declaration is a child of * a type declaration node or an anonymous class declaration node, * and <code>false</code> otherwise @@ -212,7 +212,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { * Note that this is a convenience method that simply checks whether * this node's parent is a type declaration statement node. * </p> - * + * * @return <code>true</code> if this type declaration is a child of * a type declaration statement node, and <code>false</code> otherwise * @since 2.0 (originally declared on <code>TypeDeclaration</code>) @@ -225,7 +225,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { //{ObjectTeams: additional queries: /** * Returns whether this type declaration is a team type. - * + * * @return <code>true</code> if this type declaration is a team declaration, * and <code>false</code> otherwise * @since OTDT_1.2.3 @@ -236,7 +236,7 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { /** * Returns whether this type declaration is a role type. - * + * * @return <code>true</code> if this type declaration is a role declaration, * and <code>false</code> otherwise * @since OTDT_1.2.3 @@ -253,29 +253,29 @@ public abstract class AbstractTypeDeclaration extends BodyDeclaration { * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> - * - * @return the binding, or <code>null</code> if the binding cannot be + * + * @return the binding, or <code>null</code> if the binding cannot be * resolved * @since 3.1 Declared in 3.0 on the individual subclasses. - */ + */ public final ITypeBinding resolveBinding() { return internalResolveBinding(); } - + /** * Resolves and returns the binding for the type declared in this type * declaration. This method must be implemented by subclasses. - * - * @return the binding, or <code>null</code> if the binding cannot be + * + * @return the binding, or <code>null</code> if the binding cannot be * resolved - */ + */ abstract ITypeBinding internalResolveBinding(); - + /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { return super.memSize() + 2 * 4; } - + } |