@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (options.getUseConstantSpecificKeys()) return new ConstantKey<>(S, cha.lookupClass(type)); else return new ConcreteTypeKey(cha.lookupClass(type)); }
@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (options.getUseConstantSpecificKeys()) { return new ConstantKey<>(S, cha.lookupClass(type)); } else { return new ConcreteTypeKey(cha.lookupClass(type)); } }
@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (options.getUseConstantSpecificKeys()) return new ConstantKey<>(S, cha.lookupClass(type)); else return new ConcreteTypeKey(cha.lookupClass(type)); }
@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (options.getUseConstantSpecificKeys()) { return new ConstantKey<>(S, cha.lookupClass(type)); } else { return new ConcreteTypeKey(cha.lookupClass(type)); } }
@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (type == null || cha.lookupClass(type) == null) { return null; } else { if (options.getUseConstantSpecificKeys()) { return new ConstantKey<>(S, cha.lookupClass(type)); } else { return new ConcreteTypeKey(cha.lookupClass(type)); } } }
@Override public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S) { if (type == null || cha.lookupClass(type) == null) { return null; } else { if (options.getUseConstantSpecificKeys()) { return new ConstantKey<>(S, cha.lookupClass(type)); } else { return new ConcreteTypeKey(cha.lookupClass(type)); } } }