Mercurial > hg > graal-compiler
annotate graal/com.oracle.jvmci.service/src/com/oracle/jvmci/service/ServiceProvider.java @ 21694:ed731ad12a10
Make stamp of checkcast more precise.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 13:08:13 +0200 |
parents | 93f282187d90 |
children | 55058b8000ea |
rev | line source |
---|---|
8529
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
1 /* |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
4 * |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
8 * |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
13 * accompanied this code). |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
14 * |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
18 * |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
21 * questions. |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
22 */ |
21604
93f282187d90
moved JVMCI service API into separate com.oracle.jvmci.service module (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
21538
diff
changeset
|
23 package com.oracle.jvmci.service; |
8529
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
24 |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
25 import java.lang.annotation.*; |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
26 |
8997
508ae1a5cada
Fix ServiceProviderProcessor to support multiple providers in the same project.
Roland Schatz <roland.schatz@oracle.com>
parents:
8529
diff
changeset
|
27 @Retention(RetentionPolicy.CLASS) |
8529
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
28 @Target(ElementType.TYPE) |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
29 public @interface ServiceProvider { |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
30 |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
31 Class<?> value(); |
dc9cfb7ec5d0
Annotation processor for generating META-INF/services files.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff
changeset
|
32 } |