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

com.tomtom.james.common.api.informationpoint.ExtendedInformationPoint Maven / Gradle / Ivy

package com.tomtom.james.common.api.informationpoint;

import java.util.Objects;

public class ExtendedInformationPoint extends InformationPoint {
    // name of the class that contains body of method
    protected String methodBodyClassName;

    private ExtendedInformationPoint() {
        super();
    }

    public ExtendedInformationPoint(InformationPoint informationPoint, String methodBodyClassName) {
        super(informationPoint);
        this.methodBodyClassName = methodBodyClassName;
    }

    public String getMethodBodyClassName() {
        return methodBodyClassName;
    }

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final ExtendedInformationPoint that = (ExtendedInformationPoint) o;
        return Objects.equals(methodBodyClassName, that.methodBodyClassName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), methodBodyClassName);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy