Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.
/*-
* Copyright 2012 Owl Group
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.ibatis.cglib;
import java.lang.reflect.Field;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.ibatis.asm.ClassWriter;
import org.ibatis.asm.Label;
import org.ibatis.asm.MethodEmitter;
import org.ibatis.asm.Opcodes;
import org.ibatis.asm.Type;
/**
* FastMethod
*
* Date: 2015-06-17,16:41:24 +0800
*
* @author Song Sun
* @version 1.0
*/
public class FastField extends FastMember implements Opcodes {
private final Field field;
@Deprecated
public FastField(Field field) {
super(field);
this.field = field;
}
public Object get(Object target) throws IllegalArgumentException, IllegalAccessException {
return field.get(target);
}
public void set(Object target, Object value) throws IllegalArgumentException, IllegalAccessException {
field.set(target, value);
}
@SuppressWarnings("serial")
private static final Map