Annotation Type EntryPoint


  • @Inherited
    @Retention(SOURCE)
    @Target({METHOD,CONSTRUCTOR,TYPE})
    public @interface EntryPoint
    Marks a method or constructor as an entry point, so that IntelliJ's code inspections won't decide it's unused. Needed for benchmarks, debugging tools, and constructor overloads that are tested only reflectively. When applied to a class, the implicit constructor is an entry point. Should not be applied to a type with no implicit constructor, and has no effect if that happens.