📄 reflectionprovider.java
字号:
package org.garret.perst.impl;
import java.lang.reflect.*;
public interface ReflectionProvider {
Constructor getDefaultConstructor(Class cls) throws Exception;
void setInt(Field field, Object object, int value) throws Exception;
void setLong(Field field, Object object, long value) throws Exception;
void setShort(Field field, Object object, short value) throws Exception;
void setChar(Field field, Object object, char value) throws Exception;
void setByte(Field field, Object object, byte value) throws Exception;
void setFloat(Field field, Object object, float value) throws Exception;
void setDouble(Field field, Object object, double value) throws Exception;
void setBoolean(Field field, Object object, boolean value) throws Exception;
void set(Field field, Object object, Object value) throws Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -