Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: compiler/java/com/google/dart/compiler/resolver/ConstructorElement.java

Issue 10983089: Issue 3968. Report error if cycle in redirecting factory constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/ConstructorElementImplementation.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
Brian Wilkerson 2012/09/28 18:14:37 nit: Copyright year
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 package com.google.dart.compiler.resolver; 4 package com.google.dart.compiler.resolver;
5 5
6 public interface ConstructorElement extends MethodElement { 6 public interface ConstructorElement extends MethodElement {
7 /** 7 /**
8 * Returns the type of the instances created by this constructor. Note that a constructor in a 8 * Returns the type of the instances created by this constructor. Note that a constructor in a
9 * class may be a default implementation of an interface's constructor. 9 * class may be a default implementation of an interface's constructor.
10 */ 10 */
11 ClassElement getConstructorType(); 11 ClassElement getConstructorType();
12 12
13 /** 13 /**
14 * @return the {@link ConstructorElement} in default factory class, may be <co de>null</code>. 14 * @return the {@link ConstructorElement} in default factory class, may be <co de>null</code>.
15 */ 15 */
16 ConstructorElement getDefaultConstructor(); 16 ConstructorElement getDefaultConstructor();
17 17
18 boolean isSynthetic(); 18 boolean isSynthetic();
19 19
20 String getRawName(); 20 String getRawName();
21 21
22 /** 22 /**
23 * Sets {@link ConstructorElement} in default factory class, may be <code>null </code>. 23 * Sets {@link ConstructorElement} in default factory class, may be <code>null </code>.
24 */ 24 */
25 void setDefaultConstructor(ConstructorElement defaultConstructor); 25 void setDefaultConstructor(ConstructorElement defaultConstructor);
26
27 ConstructorElement getRedirectingFactoryConstructor();
26 } 28 }
OLDNEW
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/ConstructorElementImplementation.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698