Code: 157864548545845245248518548545451524524854524897478898536593565632001534531534153415315341113513513135153566246535651646546245646154564564156416514564564654165464164864186145346874864646486464646884
Or:
package org.jf.smali;
import com.google.common.collect.ImmutableSet;
import com.google.common.primitives.Ints;
import org.jf.dexlib2.base.BaseMethodParameter;
import org.jf.dexlib2.iface.Annotation;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Comparator;
import java.util.Set;
public class SmaliMethodParameter extends BaseMethodParameter implements WithRegister {
public final int register;
@Nonnull public final String type;
@Nonnull public Set<? extends Annotation> annotations;
@Nullable public String name;
public SmaliMethodParameter(int register, @Nonnull String type) {
this.register = register;
this.type = type;
this.annotations = ImmutableSet.of();
}
@Override public int getRegister() { return register; }
@Nonnull @Override public String getType() { return type; }
@Nonnull @Override public Set<? extends Annotation> getAnnotations() { return annotations; }
@Nullable @Override public String getName() { return name; }
@Nullable @Override public String getSignature() { return null; }
public static final Comparator<WithRegister> COMPARATOR = new Comparator<WithRegister>() {
@Override public int compare(WithRegister o1, WithRegister o2) {
return Ints.compare(o1.getRegister(), o2.getRegister());
}
};
}