blob: e0ba497db27ad35188d509a0d829fdc8758df5e0 [file] [log] [blame]
crazyboblee7eb9f442007-03-01 03:46:13 +00001/**
2 * Copyright (C) 2006 Google Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.google.inject;
18
crazyboblee6c7720d2007-03-01 21:49:19 +000019import static java.lang.annotation.ElementType.TYPE;
kevinb9n2394ca62007-04-20 14:33:40 +000020import java.lang.annotation.Retention;
crazyboblee6c7720d2007-03-01 21:49:19 +000021import static java.lang.annotation.RetentionPolicy.RUNTIME;
kevinb9n2394ca62007-04-20 14:33:40 +000022import java.lang.annotation.Target;
crazyboblee6c7720d2007-03-01 21:49:19 +000023
crazyboblee7eb9f442007-03-01 03:46:13 +000024/**
25 * A pointer to the default implementation of a type.
26 *
27 * @author crazybob@google.com (Bob Lee)
28 */
crazyboblee6c7720d2007-03-01 21:49:19 +000029@Retention(RUNTIME)
30@Target(TYPE)
crazyboblee38545822007-03-01 23:33:48 +000031public @interface ImplementedBy {
crazyboblee7eb9f442007-03-01 03:46:13 +000032
33 /**
34 * The implementation type.
35 */
36 Class<?> value();
37}