[Demonstration 1]

[Buggy Method]
protected static HibernateProxy createProxyInstance(Class<?> proxyClass, final GroovyAwareJavassistLazyInitializer instance) {
    final HibernateProxy proxy;
    try {
        proxy = (HibernateProxy) proxyClass.newInstance();
    } catch (Exception e) {
        throw new HibernateException("Javassist Enhancement failed: " + proxyClass.getName(), e);
    }
    ((ProxyObject) proxy).setHandler(instance);
    instance.groovyObjectMethodHandler = new HibernateGroovyObjectMethodHandler(proxyClass, instance);
    HibernateUtils.enhanceProxy(proxy);
    instance.constructed = true;
    return proxy;
}

[Buggy Hunk]
instance.groovyObjectMethodHandler = new HibernateGroovyObjectMethodHandler(proxyClass, instance);

[Patch]
instance.groovyObjectMethodHandler = new HibernateGroovyObjectMethodHandler(proxyClass, proxy);

[Demonstration 2]

[Buggy Method]
@Override
public void postInit(FMLPostInitializationEvent event) {
    super.postInit(event);
    Session session = MC.getMinecraft().getSession();
    ClientProxy.playerInfo = new RecordingInfo(session.func_148256_e().getId());
    ClientProxy.playerInfo.name.value = session.getUsername();
}

[Buggy Hunk]
Session session = MC.getMinecraft().getSession();

[Patch]
Session session = MC.getMc().getSession();

[Demonstration 3]

[Buggy Method]
void bind(int position) {
    SitePassword password = data.get(position);
    siteLogoImage.setImageResource(password.getLogoResourceId());
    siteNameTextView.setText(password.getSiteName());
    accountIdentifierTextView.setText(password.getAccountIdentifier());
}

[Buggy Hunk]
void bind(int position){

[Patch]
public void bind(int position){