| Index: compiler/java/com/google/dart/compiler/common/HasSourceInfoSetter.java
|
| diff --git a/compiler/java/com/google/dart/compiler/common/HasSourceInfo.java b/compiler/java/com/google/dart/compiler/common/HasSourceInfoSetter.java
|
| similarity index 55%
|
| copy from compiler/java/com/google/dart/compiler/common/HasSourceInfo.java
|
| copy to compiler/java/com/google/dart/compiler/common/HasSourceInfoSetter.java
|
| index 105aa68e1f5600d27f0e50e5f95837d52f5b3b1f..6d419429aa7ed64b3ee6ebd9a3f87a608e10b20f 100644
|
| --- a/compiler/java/com/google/dart/compiler/common/HasSourceInfo.java
|
| +++ b/compiler/java/com/google/dart/compiler/common/HasSourceInfoSetter.java
|
| @@ -5,18 +5,12 @@
|
| package com.google.dart.compiler.common;
|
|
|
| /**
|
| - * Abstract view of a class that has source info.
|
| + * Object for which you can set new {@link SourceInfo}.
|
| */
|
| -public interface HasSourceInfo {
|
| -
|
| - /**
|
| - * @return the {@link SourceInfo} associated with this object. May be {@link SourceInfo#UNKNOWN}
|
| - * but not <code>null</code>.
|
| - */
|
| - SourceInfo getSourceInfo();
|
| +public interface HasSourceInfoSetter {
|
|
|
| /**
|
| * Set the {@link SourceInfo} associated with this object. May only be called only once.
|
| */
|
| - void setSourceInfo(SourceInfo info);
|
| + void setSourceInfo(SourceInfo sourceInfo);
|
| }
|
|
|