📄 readparameter.java
字号:
package xyz.frame.introspector;import xyz.frame.converter.Converter;import xyz.frame.util.SettingException;/** * Parameters to be read * * @author Guilherme Silveira */public interface ReadParameter { /** * The parameter key * * @return key */ public String getKey(); /** * Should it instantiate required fields on the fly? * * @return true if it should instantiate them */ public boolean mightCreate(); /** * Returns the overriden converter class attached to this read parameter * * @return the converter class */ public abstract Class<? extends Converter> getOverridenConverter(); /** * Guarantees it's existence by instantiating itself if needed (or oblied), * connecting to the logic component and returning itself * * @param component * the logic component * @return the instantiated object itself * @throws SettingException * some problem during its creation */ public abstract Object guaranteeExistence(Object component) throws SettingException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -