Adjust project code to new labels syntax
This commit is contained in:
@@ -34,7 +34,7 @@ object DocCommentConverter {
|
||||
val html = StringBuilder {
|
||||
appendJavadocElements(docComment.getDescriptionElements())
|
||||
|
||||
@tagsLoop
|
||||
tagsLoop@
|
||||
for (tag in docComment.getTags()) {
|
||||
when (tag.getName()) {
|
||||
"deprecated" -> continue@tagsLoop
|
||||
|
||||
@@ -255,7 +255,7 @@ public class JavaToKotlinConverter(private val project: Project,
|
||||
|
||||
private fun processUsages(refs: Collection<ReferenceInfo>) {
|
||||
for (fileRefs in refs.groupBy { it.file }.values()) { // group by file for faster sorting
|
||||
@ReferenceLoop
|
||||
ReferenceLoop@
|
||||
for ((reference, target, file, processings) in fileRefs.sortBy(ReferenceComparator)) {
|
||||
val processors = when (reference.getElement().getLanguage()) {
|
||||
JavaLanguage.INSTANCE -> processings.map { it.javaCodeProcessor }.filterNotNull()
|
||||
|
||||
@@ -145,7 +145,7 @@ class OverloadReducer(
|
||||
.map { it.key }
|
||||
.sortBy { -it.getParameterList().getParametersCount() } // we will try to drop them starting from ones with more parameters
|
||||
|
||||
@DropCandidatesLoop
|
||||
DropCandidatesLoop@
|
||||
for (method in dropCandidates) {
|
||||
val paramCount = method.getParameterList().getParametersCount()
|
||||
val targetInfo = equivalenceMap[method]!!
|
||||
|
||||
Reference in New Issue
Block a user