Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/compiler/AbstractCompiler.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 9c8c0937da41 |
children |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.truffle.dsl.processor.java.compiler; | 23 package com.oracle.truffle.dsl.processor.java.compiler; |
24 | 24 |
25 import java.lang.reflect.*; | 25 import java.lang.reflect.Field; |
26 import java.lang.reflect.Method; | |
26 | 27 |
27 public abstract class AbstractCompiler implements Compiler { | 28 public abstract class AbstractCompiler implements Compiler { |
28 | 29 |
29 protected static Object method(Object o, String methodName) throws Exception { | 30 protected static Object method(Object o, String methodName) throws Exception { |
30 Method method = o.getClass().getMethod(methodName); | 31 Method method = o.getClass().getMethod(methodName); |