Search in sources :

Example 1 with Nullable

use of dyvil.annotation.internal.Nullable in project Dyvil by Dyvil.

the class SpecialIntrinsicData method getLabels.

@Nullable
public Label[] getLabels() {
    if (this.targets == null) {
        return null;
    }
    final int length = this.targets.length;
    if (length <= 0) {
        return null;
    }
    final Label[] labels = new Label[length];
    for (int i = 0; i < length; i++) {
        if (this.targets[i]) {
            labels[i] = new Label();
        }
    }
    return labels;
}
Also used : Label(dyvilx.tools.asm.Label) Nullable(dyvil.annotation.internal.Nullable)

Aggregations

Nullable (dyvil.annotation.internal.Nullable)1 Label (dyvilx.tools.asm.Label)1