added type target and name property to @Indexed
This commit is contained in:
@@ -6,7 +6,8 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
@Target( value = {ElementType.FIELD,ElementType.TYPE})
|
||||
public @interface Indexed
|
||||
{
|
||||
String name() default "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user