All Downloads are FREE. Search and download functionalities are using the official Maven repository.

at.yawk.valda.ir.MemberSignature Maven / Gradle / Ivy

The newest version!
package at.yawk.valda.ir;

import lombok.Value;
import org.objectweb.asm.Type;

/**
 * @author yawkat
 */
@Value
public final class MemberSignature {
    private final String name;
    private final Type type;

    @Override
    public String toString() {
        if (type.getSort() == Type.METHOD) {
            return name + type;
        } else {
            return name + ':' + type;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy