All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functions.BeanParam.ext Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
extension java::GeneratorCommons;

cached boolean isBeanParam(uml::Element element):
    element.isStereotypeApplied("BeanParam");
    
cached boolean isParameterBeanParam(uml::Parameter param):
    param.isBeanParam() || param.type.isBeanParam();
    
cached JMM::BeanParam asBeanParam(uml::Element element):
    (JMM::HeaderParam) element;
    
cached JMM::BeanParam parameterAsBeanParam(uml::Parameter param):
    if param.isBeanParam()
    then param.asBeanParam()
    else param.type.asBeanParam();
    




© 2015 - 2024 Weber Informatics LLC | Privacy Policy