Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/LanguageRegistrationProcessor.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 78c3d3d8d86e |
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; | 23 package com.oracle.truffle.dsl.processor; |
24 | 24 |
25 import java.io.*; | 25 import com.oracle.truffle.api.TruffleLanguage; |
26 import java.util.*; | 26 import com.oracle.truffle.api.TruffleLanguage.Registration; |
27 | 27 import java.io.IOException; |
28 import javax.annotation.processing.*; | 28 import java.io.OutputStream; |
29 import javax.lang.model.*; | 29 import java.util.ArrayList; |
30 import javax.lang.model.element.*; | 30 import java.util.List; |
31 import javax.lang.model.type.*; | 31 import java.util.Properties; |
32 import java.util.Set; | |
33 import javax.annotation.processing.AbstractProcessor; | |
34 import javax.annotation.processing.RoundEnvironment; | |
35 import javax.annotation.processing.SupportedAnnotationTypes; | |
36 import javax.lang.model.SourceVersion; | |
37 import javax.lang.model.element.Element; | |
38 import javax.lang.model.element.ElementKind; | |
39 import javax.lang.model.element.Modifier; | |
40 import javax.lang.model.element.TypeElement; | |
41 import javax.lang.model.type.TypeMirror; | |
32 import javax.tools.Diagnostic.Kind; | 42 import javax.tools.Diagnostic.Kind; |
33 import javax.tools.*; | 43 import javax.tools.FileObject; |
34 | 44 import javax.tools.StandardLocation; |
35 import com.oracle.truffle.api.*; | |
36 import com.oracle.truffle.api.TruffleLanguage.Registration; | |
37 | 45 |
38 @SupportedAnnotationTypes("com.oracle.truffle.api.TruffleLanguage.Registration") | 46 @SupportedAnnotationTypes("com.oracle.truffle.api.TruffleLanguage.Registration") |
39 public final class LanguageRegistrationProcessor extends AbstractProcessor { | 47 public final class LanguageRegistrationProcessor extends AbstractProcessor { |
40 private final List<TypeElement> registrations = new ArrayList<>(); | 48 private final List<TypeElement> registrations = new ArrayList<>(); |
41 | 49 |