Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ProcessorContext.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | 6343a09b2ec1 |
children | 6d92fdf1c999 |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
145 return element.asType(); | 145 return element.asType(); |
146 } | 146 } |
147 return null; | 147 return null; |
148 } | 148 } |
149 | 149 |
150 public TypeMirror getType(Class< ? > element) { | 150 public TypeMirror getType(Class<?> element) { |
151 TypeMirror mirror; | 151 TypeMirror mirror; |
152 if (element.isPrimitive()) { | 152 if (element.isPrimitive()) { |
153 if (element == boolean.class) { | 153 if (element == boolean.class) { |
154 mirror = environment.getTypeUtils().getPrimitiveType(TypeKind.BOOLEAN); | 154 mirror = environment.getTypeUtils().getPrimitiveType(TypeKind.BOOLEAN); |
155 } else if (element == byte.class) { | 155 } else if (element == byte.class) { |