package de.dhbwstuttgart.typeinference.assumptions;

import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPHOrWildcardOrGeneric;

public class FieldAssumption {
    private RefTypeOrTPHOrWildcardOrGeneric receiverType;
    private RefTypeOrTPHOrWildcardOrGeneric type;

    public FieldAssumption(RefTypeOrTPHOrWildcardOrGeneric receiverType,
                           RefTypeOrTPHOrWildcardOrGeneric type){
        this.type = type;
        this.receiverType = receiverType;
    }

    public RefTypeOrTPHOrWildcardOrGeneric getReceiverType() {
        return receiverType;
    }

    public RefTypeOrTPHOrWildcardOrGeneric getType() {
        return type;
    }
}
