Пример #1
0
 @Nonnull
 Map<Class<?>, byte[]> getRedefinedClasses() {
   return redefinedClasses.isEmpty()
       ? Collections.<Class<?>, byte[]>emptyMap()
       : new HashMap<Class<?>, byte[]>(redefinedClasses);
 }
Пример #2
0
 @Nonnull
 public List<Class<?>> getMockedClasses() {
   return mockedClasses.isEmpty()
       ? Collections.<Class<?>>emptyList()
       : new ArrayList<Class<?>>(mockedClasses);
 }
Пример #3
0
 @Nonnull
 Set<ClassIdentification> getTransformedClasses() {
   return transformedClasses.isEmpty()
       ? Collections.<ClassIdentification>emptySet()
       : new HashSet<ClassIdentification>(transformedClasses.keySet());
 }