Package org.drools.lang.descr

Examples of org.drools.lang.descr.AbstractClassTypeDeclarationDescr


                    if ( mergeInheritedFields( tDescr ) ) {
                        //descriptor also needs metadata from superclass
                        Iterator<AbstractClassTypeDeclarationDescr> iter = sortedTypeDescriptors.iterator();
                        while ( iter.hasNext() ) {
                            // sortedTypeDescriptors are sorted by inheritance order, so we'll always find the superClass (if any) before the subclass
                            AbstractClassTypeDeclarationDescr descr = iter.next();
                            if ( qname.equals( descr.getType() ) ) {
                                typeDescr.getAnnotations().putAll( descr.getAnnotations() );
                                break;
                            } else if ( typeDescr.getType().equals( descr.getType() ) ) {
                                break;
                            }
                        }
                    }
                }
View Full Code Here


                    if ( mergeInheritedFields( tDescr ) ) {
                        //descriptor also needs metadata from superclass
                        Iterator<AbstractClassTypeDeclarationDescr> iter = sortedTypeDescriptors.iterator();
                        while ( iter.hasNext() ) {
                            // sortedTypeDescriptors are sorted by inheritance order, so we'll always find the superClass (if any) before the subclass
                            AbstractClassTypeDeclarationDescr descr = iter.next();
                            if ( qname.equals( descr.getType() ) ) {
                                typeDescr.getAnnotations().putAll( descr.getAnnotations() );
                                break;
                            } else if ( typeDescr.getType().equals( descr.getType() ) ) {
                                break;
                            }
                        }
                    }
                }
View Full Code Here

TOP

Related Classes of org.drools.lang.descr.AbstractClassTypeDeclarationDescr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.