com.fitbur.mockito.internal.creation.bytebuddy.MockFeatures Maven / Gradle / Ivy
package com.fitbur.mockito.internal.creation.bytebuddy;
import java.util.Collections;
import java.util.Set;
class MockFeatures {
final Class mockedType;
final Set> interfaces;
final boolean crossClassLoaderSerializable;
private MockFeatures(Class mockedType, Set> interfaces, boolean crossClassLoaderSerializable) {
this.mockedType = mockedType;
this.interfaces = Collections.unmodifiableSet(interfaces);
this.crossClassLoaderSerializable = crossClassLoaderSerializable;
}
public static MockFeatures withMockFeatures(Class mockedType, Set> interfaces, boolean crossClassLoaderSerializable) {
return new MockFeatures(mockedType, interfaces, crossClassLoaderSerializable);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy