001    package org.nakedobjects.applib.annotation;
002    
003    import java.lang.annotation.ElementType;
004    import java.lang.annotation.Inherited;
005    import java.lang.annotation.Retention;
006    import java.lang.annotation.RetentionPolicy;
007    import java.lang.annotation.Target;
008    
009    
010    @Inherited
011    @Target( { ElementType.METHOD })
012    @Retention(RetentionPolicy.RUNTIME)
013    public @interface TypeOf {
014        Class<?> value();
015    }
016    
017    // Copyright (c) Naked Objects Group Ltd.