📄 componentwrapper.java
字号:
package xyz.frame.component;import java.util.Collection;import java.util.List;import xyz.frame.annotations.In;import xyz.frame.annotations.Out;import xyz.frame.interceptor.InterceptorClass;import xyz.frame.introspector.FieldReadParameter;/** * A component wrapper. * * @author Guilherme Silveira */public class ComponentWrapper implements ComponentType { private ComponentType type; public ComponentWrapper(ComponentType component) { this.type = component; } public List<FieldAnnotation<In>> getInAnnotations() { return type.getInAnnotations(); } public List<InterceptorClass> getInterceptors() { return type.getInterceptors(); } public LogicMethod getLogic(String key) throws LogicNotFoundException { return type.getLogic(key); } public String getName() { return type.getName(); } public List<FieldAnnotation<Out>> getOutAnnotations() { return type.getOutAnnotations(); } public List<FieldReadParameter> getReadParameters() { return type.getReadParameters(); } public Object newInstance() throws ComponentInstantiationException { return type.newInstance(); } public Collection<LogicMethod> getLogics() { return type.getLogics(); } public Class getComponentClass() { return type.getComponentClass(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -