diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/generator/NodeGenFactory.java @ 18766:a720bf2e2f43

Truffle-DSL: checkstyle fixes.
author Christian Humer <christian.humer@gmail.com>
date Tue, 30 Dec 2014 00:37:39 +0100
parents a665483c3881
children 15fe16c45d64
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/generator/NodeGenFactory.java	Mon Dec 29 23:39:12 2014 +0100
+++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/generator/NodeGenFactory.java	Tue Dec 30 00:37:39 2014 +0100
@@ -1216,11 +1216,11 @@
         } else if (specialization.isUninitialized()) {
             builder.startReturn().tree(createCallDelegate("uninitialized", null, type, currentLocals)).end();
         } else {
-            final TypeData type_ = type;
+            final TypeData finalType = type;
             SpecializationGroup group = SpecializationGroup.create(specialization);
             SpecializationExecution executionFactory = new SpecializationExecution() {
                 public CodeTree createExecute(SpecializationData s, LocalContext values) {
-                    return createFastPathExecute(type_, s, values);
+                    return createFastPathExecute(finalType, s, values);
                 }
 
                 public boolean isFastPath() {
@@ -2132,7 +2132,7 @@
 
     }
 
-    public final static class LocalVariable {
+    public static final class LocalVariable {
 
         private final TypeData type;
         private final TypeMirror typeMirror;
@@ -2205,15 +2205,15 @@
             return new LocalVariable(newType, newType.getPrimitiveType(), name, accessorTree);
         }
 
-        public final LocalVariable accessWith(CodeTree tree) {
+        public LocalVariable accessWith(CodeTree tree) {
             return new LocalVariable(type, typeMirror, name, tree);
         }
 
-        public final LocalVariable nextName() {
+        public LocalVariable nextName() {
             return new LocalVariable(type, typeMirror, createNextName(name), accessorTree);
         }
 
-        public final LocalVariable makeGeneric() {
+        public LocalVariable makeGeneric() {
             return newType(type.getTypeSystem().getGenericTypeData());
         }