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

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

Issue 10699027: Flag uninitialized final variables in a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: # 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
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/06/28 21:53:53 nit: copyright year
zundel 2012/06/28 22:07:15 Done.
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.DartField; 7 import com.google.dart.compiler.ast.DartField;
8 import com.google.dart.compiler.ast.DartIdentifier; 8 import com.google.dart.compiler.ast.DartIdentifier;
9 import com.google.dart.compiler.ast.DartMethodDefinition; 9 import com.google.dart.compiler.ast.DartMethodDefinition;
10 import com.google.dart.compiler.ast.DartNode; 10 import com.google.dart.compiler.ast.DartNode;
11 import com.google.dart.compiler.ast.Modifiers; 11 import com.google.dart.compiler.ast.Modifiers;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 return setter; 97 return setter;
98 } 98 }
99 99
100 void setGetter(MethodNodeElement getter) { 100 void setGetter(MethodNodeElement getter) {
101 this.getter = getter; 101 this.getter = getter;
102 } 102 }
103 103
104 void setSetter(MethodNodeElement setter) { 104 void setSetter(MethodNodeElement setter) {
105 this.setter = setter; 105 this.setter = setter;
106 } 106 }
107 107
108 @Override 108 @Override
109 public Type getConstantType() { 109 public Type getConstantType() {
110 return constantType; 110 return constantType;
111 } 111 }
112 112
113 @Override 113 @Override
114 public void setConstantType(Type type) { 114 public void setConstantType(Type type) {
115 constantType = type; 115 constantType = type;
116 } 116 }
117 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698