@ Pure public String getAutoGeneratedActionString ( Resource resource ) { TaskTags tags = getTaskTagProvider ( ) . getTaskTags ( resource ) ; String taskTag ; if ( tags != null && tags . getTaskTags ( ) != null && ! tags . getTaskTags ( ) . isEmpty ( ) ) { taskTag = tags . getTaskTags ( ) . get ( 0 ) . getName ( ) ; } else { taskTag = "TODO" ; } return taskTag + " Auto-generated code." ; }
Replies the string for auto - generated comments .