001 /*****************************************************************************
002 * Copyright (C) PicoContainer Organization. All rights reserved. *
003 * ------------------------------------------------------------------------- *
004 * The software in this package is published under the terms of the BSD *
005 * style license a copy of which has been included with this distribution in *
006 * the LICENSE.txt file. *
007 * *
008 * Original code by *
009 *****************************************************************************/
010 package org.picocontainer.annotations;
011
012 import java.lang.annotation.Target;
013 import java.lang.annotation.ElementType;
014 import java.lang.annotation.Retention;
015 import java.lang.annotation.RetentionPolicy;
016
017 @Retention(RetentionPolicy.RUNTIME)
018 @Target(value={ElementType.METHOD, ElementType.FIELD})
019 public @interface Inject {
020 //Marker annotation only, no attributes.
021 }