Annotation Type Limerick


  • @Retention(SOURCE)
    @Visionary("Paul Cowan")
    public @interface Limerick
    Indicates that the annotated code is a limerick. For example:
       @Limerick
       void scoreResult() {
    
         SearchResult whatIFound = hit;
         whatIFound.adjustForBestFit();
         whatIFound.setScore(
             new SearchScore(94));
         searchTransaction.safelyCommit();
    
       }