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

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

Issue 10703046: Issue 3753. Support for @deprecated annotation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Analyze for @deprecated all invocable elements Created 8 years, 5 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/ClassElementImplementation.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) 2012, the Dart project authors. Please see the AUTHORS file
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 4
5 package com.google.dart.compiler.resolver; 5 package com.google.dart.compiler.resolver;
6 6
7 import com.google.dart.compiler.ast.DartMetadata;
7 import com.google.dart.compiler.ast.DartNode; 8 import com.google.dart.compiler.ast.DartNode;
8 import com.google.dart.compiler.ast.Modifiers; 9 import com.google.dart.compiler.ast.Modifiers;
9 import com.google.dart.compiler.common.SourceInfo; 10 import com.google.dart.compiler.common.SourceInfo;
10 import com.google.dart.compiler.type.Type; 11 import com.google.dart.compiler.type.Type;
11 import com.google.dart.compiler.type.Types; 12 import com.google.dart.compiler.type.Types;
12 13
13 abstract class AbstractNodeElement implements Element, NodeElement { 14 abstract class AbstractNodeElement implements Element, NodeElement {
14 private final DartNode node; 15 private final DartNode node;
15 private final String name; 16 private final String name;
16 private SourceInfo sourceInfo; 17 private SourceInfo sourceInfo;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void setType(Type type) { 54 void setType(Type type) {
54 throw new UnsupportedOperationException(); 55 throw new UnsupportedOperationException();
55 } 56 }
56 57
57 @Override 58 @Override
58 public boolean isDynamic() { 59 public boolean isDynamic() {
59 return false; 60 return false;
60 } 61 }
61 62
62 @Override 63 @Override
64 public DartMetadata getMetadata() {
65 return DartMetadata.EMPTY;
66 }
67
68 @Override
63 public Modifiers getModifiers() { 69 public Modifiers getModifiers() {
64 return Modifiers.NONE; 70 return Modifiers.NONE;
65 } 71 }
66 72
67 @Override 73 @Override
68 public EnclosingElement getEnclosingElement() { 74 public EnclosingElement getEnclosingElement() {
69 return null; 75 return null;
70 } 76 }
71 77
72 @Override 78 @Override
73 public SourceInfo getNameLocation() { 79 public SourceInfo getNameLocation() {
74 return sourceInfo; 80 return sourceInfo;
75 } 81 }
76 82
77 @Override 83 @Override
78 public final SourceInfo getSourceInfo() { 84 public final SourceInfo getSourceInfo() {
79 return sourceInfo; 85 return sourceInfo;
80 } 86 }
81 } 87 }
OLDNEW
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698