new ComparableConstant(programClass, oldIndex, constant); if (!comparableConstant.equals(previousComparableConstant)) Constant constant = comparableConstant.getConstant(); constantIndexMap[comparableConstant.getIndex()] = newIndex;
public boolean equals(Object other) { return other != null && this.getClass().equals(other.getClass()) && this.getConstant().getClass().equals(((ComparableConstant)other).getConstant().getClass()) && this.compareTo(other) == 0; }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant otherNameAndTypeConstant = (NameAndTypeConstant)otherConstant; result = compare(nameAndTypeConstant.getName(clazz), nameAndTypeConstant.getType(clazz), otherNameAndTypeConstant.getName(clazz), otherNameAndTypeConstant.getType(clazz)); }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant otherNameAndTypeConstant = (NameAndTypeConstant)otherConstant; result = compare(nameAndTypeConstant.getName(clazz), nameAndTypeConstant.getType(clazz), otherNameAndTypeConstant.getName(clazz), otherNameAndTypeConstant.getType(clazz)); }
new ComparableConstant(programClass, oldIndex, constant); if (!comparableConstant.equals(previousComparableConstant)) Constant constant = comparableConstant.getConstant(); constantIndexMap[comparableConstant.getIndex()] = newIndex;
public boolean equals(Object other) { return other != null && this.getClass().equals(other.getClass()) && this.getConstant().getClass().equals(((ComparableConstant)other).getConstant().getClass()) && this.compareTo(other) == 0; }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant otherNameAndTypeConstant = (NameAndTypeConstant)otherConstant; result = compare(nameAndTypeConstant.getName(clazz), nameAndTypeConstant.getType(clazz), otherNameAndTypeConstant.getName(clazz), otherNameAndTypeConstant.getType(clazz)); }
new ComparableConstant(programClass, oldIndex, constant); if (!comparableConstant.equals(previousComparableConstant)) Constant constant = comparableConstant.getConstant(); constantIndexMap[comparableConstant.getIndex()] = newIndex;
public boolean equals(Object other) { return other != null && this.getClass().equals(other.getClass()) && this.getConstant().getClass().equals(((ComparableConstant)other).getConstant().getClass()) && this.compareTo(other) == 0; }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant otherRefConstant = (RefConstant)otherConstant; result = compare(refConstant.getClassName(clazz), refConstant.getName(clazz), refConstant.getType(clazz), otherRefConstant.getClassName(clazz), otherRefConstant.getName(clazz), otherRefConstant.getType(clazz)); }
new ComparableConstant(programClass, oldIndex, constant); if (!comparableConstant.equals(previousComparableConstant)) Constant constant = comparableConstant.getConstant(); constantIndexMap[comparableConstant.getIndex()] = newIndex;
public boolean equals(Object other) { return other != null && this.getClass().equals(other.getClass()) && this.getConstant().getClass().equals(((ComparableConstant)other).getConstant().getClass()) && this.compareTo(other) == 0; }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant otherInvokeDynamicConstant = (InvokeDynamicConstant)otherConstant; int index = invokeDynamicConstant.getBootstrapMethodAttributeIndex(); int otherIndex = otherInvokeDynamicConstant.getBootstrapMethodAttributeIndex(); result = index < otherIndex ? -1 : index > otherIndex ? 1 : compare(invokeDynamicConstant.getName(clazz), invokeDynamicConstant.getType(clazz), otherInvokeDynamicConstant.getName(clazz), otherInvokeDynamicConstant.getType(clazz)); }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant otherInvokeDynamicConstant = (InvokeDynamicConstant)otherConstant; int index = invokeDynamicConstant.getBootstrapMethodAttributeIndex(); int otherIndex = otherInvokeDynamicConstant.getBootstrapMethodAttributeIndex(); result = index < otherIndex ? -1 : index > otherIndex ? 1 : compare(invokeDynamicConstant.getName(clazz), invokeDynamicConstant.getType(clazz), otherInvokeDynamicConstant.getName(clazz), otherInvokeDynamicConstant.getType(clazz)); }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant otherInvokeDynamicConstant = (InvokeDynamicConstant)otherConstant; int index = invokeDynamicConstant.getBootstrapMethodAttributeIndex(); int otherIndex = otherInvokeDynamicConstant.getBootstrapMethodAttributeIndex(); result = index < otherIndex ? -1 : index > otherIndex ? 1 : compare(invokeDynamicConstant.getName(clazz), invokeDynamicConstant.getType(clazz), otherInvokeDynamicConstant.getName(clazz), otherInvokeDynamicConstant.getType(clazz)); }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant otherRefConstant = (RefConstant)otherConstant; result = compare(refConstant.getClassName(clazz), refConstant.getName(clazz), refConstant.getType(clazz), otherRefConstant.getClassName(clazz), otherRefConstant.getName(clazz), otherRefConstant.getType(clazz)); }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant otherRefConstant = (RefConstant)otherConstant; result = compare(refConstant.getClassName(clazz), refConstant.getName(clazz), refConstant.getType(clazz), otherRefConstant.getClassName(clazz), otherRefConstant.getName(clazz), otherRefConstant.getType(clazz)); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { MethodHandleConstant otherMethodHandleConstant = (MethodHandleConstant)otherConstant; int kind = methodHandleConstant.getReferenceKind(); int otherKind = otherMethodHandleConstant.getReferenceKind(); result = kind < otherKind ? -1 : kind > otherKind ? 1 : compare(methodHandleConstant.getClassName(clazz), methodHandleConstant.getName(clazz), methodHandleConstant.getType(clazz), otherMethodHandleConstant.getClassName(clazz), otherMethodHandleConstant.getName(clazz), otherMethodHandleConstant.getType(clazz)); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { MethodHandleConstant otherMethodHandleConstant = (MethodHandleConstant)otherConstant; int kind = methodHandleConstant.getReferenceKind(); int otherKind = otherMethodHandleConstant.getReferenceKind(); result = kind < otherKind ? -1 : kind > otherKind ? 1 : compare(methodHandleConstant.getClassName(clazz), methodHandleConstant.getName(clazz), methodHandleConstant.getType(clazz), otherMethodHandleConstant.getClassName(clazz), otherMethodHandleConstant.getName(clazz), otherMethodHandleConstant.getType(clazz)); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { MethodHandleConstant otherMethodHandleConstant = (MethodHandleConstant)otherConstant; int kind = methodHandleConstant.getReferenceKind(); int otherKind = otherMethodHandleConstant.getReferenceKind(); result = kind < otherKind ? -1 : kind > otherKind ? 1 : compare(methodHandleConstant.getClassName(clazz), methodHandleConstant.getName(clazz), methodHandleConstant.getType(clazz), otherMethodHandleConstant.getClassName(clazz), otherMethodHandleConstant.getName(clazz), otherMethodHandleConstant.getType(clazz)); }