protected boolean isMetaDataComplete(PropertyMetaData pmd) { if (pmd == null) return false; ValueMetaData value = pmd.getValue(); Object underlyingValue = value.getUnderlyingValue(); return (underlyingValue instanceof AnnotationsMatcher == false); }
public String toShortString() { return value.toShortString(); } }
protected String getComponentName(BeanMetaData attachment) { return attachment.getName(); } }
public void initialVisit(MetaDataVisitor vistor) { vistor.initialVisit(this); }
public void describeVisit(MetaDataVisitor vistor) { vistor.describeVisit(this); }
protected boolean isMetaDataAlreadyPresent(ClassInfo info, C annotation, BeanMetaData beanMetaData) { return beanMetaData.getConstructor() != null; }
protected LifecycleMetaData getInstallLifecycle(BeanMetaData beanMetaData) { return beanMetaData.getStart(); }
/** * Get the method name from lifecycle meta data. * * @param lifecycle the lifecycle meta data * @return method name or null if null lifecycle */ protected String getMethod(LifecycleMetaData lifecycle) { if (lifecycle != null) return lifecycle.getMethodName(); return null; }
/** * Get the parameters. * * @param lifecycle the lifecycle meta data * @return lifecycle parameters or null if null lifecycle */ protected List<ParameterMetaData> getParameters(LifecycleMetaData lifecycle) { if (lifecycle != null) return lifecycle.getParameters(); return null; }
/** * Is invocation ignored. * * @param lifecycle the lifecycle meta data * @return true if ignored set on lifecycle */ protected boolean isInvocationIgnored(LifecycleMetaData lifecycle) { return lifecycle != null && lifecycle.isIgnored(); }
/** * Visit the bean metadata node, this is the starting point */ public Object run() { bmd.describeVisit(this); visitorNodeStack = null; return null; } }
protected boolean isLifecyclePresent(BeanMetaData beanMetaData) { return beanMetaData.getCreate() != null; }
/** * Visit the bean metadata node, this is the starting point */ public Object run() { bmd.initialVisit(this); visitorNodeStack = null; return null; } }
/** * Set the method info. * * @param lifecycle the lifecycle * @param methodInfo the method info */ protected void setMethodInfo(T lifecycle, String methodInfo) { lifecycle.setMethodName(methodInfo); } }
@SuppressWarnings("unchecked") protected void addCallback(MetaDataVisitor visitor, CallbackItem callback) { visitor.addUninstallCallback(callback); }
protected boolean isMetaDataComplete(PropertyMetaData pmd) { if (pmd == null) return false; ValueMetaData value = pmd.getValue(); Object underlyingValue = value.getUnderlyingValue(); return (underlyingValue instanceof AnnotationsMatcher == false); }
protected Object getName(BeanMetaData handle) { return handle.getName(); } }
public void initialVisit(MetaDataVisitor visitor) { visitor.initialVisit(this); }
protected boolean isLifecyclePresent(BeanMetaData beanMetaData) { return beanMetaData.getStart() != null; }
public void initialVisit(MetaDataVisitor vistor) { vistor.initialVisit(this); }