Program: 60460
Project: 60460
Buggy source:
public ConstructionProxy<T> create(){
  @SuppressWarnings("String_Node_Str") final Constructor<T> constructor=(Constructor<T>)injectionPoint.getMember();
  if (Modifier.isPublic(constructor.getModifiers())) {
    Class<T> classToConstruct=constructor.getDeclaringClass();
    try {
      final net.sf.cglib.reflect.FastConstructor fastConstructor=BytecodeGen.newFastClass(classToConstruct,Visibility.forMember(constructor)).getConstructor(constructor);
      return new ConstructionProxy<T>(){
        @SuppressWarnings("String_Node_Str") public T newInstance(        Object... arguments) throws InvocationTargetException {
          return (T)fastConstructor.newInstance(arguments);
        }
        public InjectionPoint getInjectionPoint(){
          return injectionPoint;
        }
        public Constructor<T> getConstructor(){
          return constructor;
        }
        public ImmutableMap<Method,List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors(){
          return ImmutableMap.of();
        }
      }
;
    }
 catch (    net.sf.cglib.core.CodeGenerationException e) {
    }
    if (!Modifier.isPublic(classToConstruct.getModifiers())) {
      constructor.setAccessible(true);
    }
  }
 else {
    constructor.setAccessible(true);
  }
  return new ConstructionProxy<T>(){
    public T newInstance(    Object... arguments) throws InvocationTargetException {
      try {
        return constructor.newInstance(arguments);
      }
 catch (      InstantiationException e) {
        throw new AssertionError(e);
      }
catch (      IllegalAccessException e) {
        throw new AssertionError(e);
      }
    }
    public InjectionPoint getInjectionPoint(){
      return injectionPoint;
    }
    public Constructor<T> getConstructor(){
      return constructor;
    }
    public ImmutableMap<Method,List<MethodInterceptor>> getMethodInterceptors(){
      return ImmutableMap.of();
    }
  }
;
}

Fixed version (ground truth):
public ConstructionProxy<T> create(){
  @SuppressWarnings("String_Node_Str") final Constructor<T> constructor=(Constructor<T>)injectionPoint.getMember();
  if (Modifier.isPublic(constructor.getModifiers())) {
    Class<T> classToConstruct=constructor.getDeclaringClass();
    try {
      final net.sf.cglib.reflect.FastConstructor fastConstructor=BytecodeGen.newFastClass(classToConstruct,Visibility.forMember(constructor)).getConstructor(constructor);
      return new ConstructionProxy<T>(){
        @SuppressWarnings("String_Node_Str") public T newInstance(        Object... arguments) throws InvocationTargetException {
          return (T)fastConstructor.newInstance(arguments);
        }
        public InjectionPoint getInjectionPoint(){
          return injectionPoint;
        }
        public Constructor<T> getConstructor(){
          return constructor;
        }
        public ImmutableMap<Method,List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors(){
          return ImmutableMap.of();
        }
      }
;
    }
 catch (    net.sf.cglib.core.CodeGenerationException e) {
    }
    if (!Modifier.isPublic(classToConstruct.getModifiers())) {
      constructor.setAccessible(true);
    }
  }
 else {
    constructor.setAccessible(true);
  }
  return new ConstructionProxy<T>(){
    public T newInstance(    Object... arguments) throws InvocationTargetException {
      try {
        return constructor.newInstance(arguments);
      }
 catch (      InstantiationException e) {
        throw new AssertionError(e);
      }
catch (      IllegalAccessException e) {
        throw new AssertionError(e);
      }
    }
    public InjectionPoint getInjectionPoint(){
      return injectionPoint;
    }
    public Constructor<T> getConstructor(){
      return constructor;
    }
    public ImmutableMap<Method,List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors(){
      return ImmutableMap.of();
    }
  }
;
}