@
Retention(RetentionPolicy.RUNTIME)
@
Target({ElementType.METHOD})
public @
interface CacheKey {
Class<? extends AbstractStdCacheNaming & ICacheKeyNamingStrategy> keyGen() default EntityBasedKeyNamingStrategy.class;
...
}
public abstract class AbstractStdCacheNaming {...}
public interface ICacheKeyNamingStrategy {...}
Class<? extends AbstractStdCacheNaming & ICacheKeyNamingStrategy> keyGen() default EntityBasedKeyNamingStrategy.class;
这一句就报错了
@
hingbong