Class TraitsTypeDeclarationBuilderImpl


  • public class TraitsTypeDeclarationBuilderImpl
    extends org.drools.compiler.builder.impl.TypeDeclarationBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected TraitRegistryImpl traitRegistry  
      • Fields inherited from class org.drools.compiler.builder.impl.TypeDeclarationBuilder

        classDeclarationExtractor, classDefinitionFactory, context, declaredClassBuilder, generatedTypes, results, typeDeclarationConfigurator, typeDeclarationFactory, typeDeclarationNameResolver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void postGenerateDeclaredBean​(org.drools.drl.ast.descr.AbstractClassTypeDeclarationDescr typeDescr, org.drools.base.rule.TypeDeclaration type, org.drools.base.factmodel.ClassDefinition def, org.drools.compiler.compiler.PackageRegistry pkgRegistry)  
      protected void updateTraitDefinition​(org.drools.base.rule.TypeDeclaration type, java.lang.Class concrete, boolean asTrait)  
      • Methods inherited from class org.drools.compiler.builder.impl.TypeDeclarationBuilder

        createBean, getAndRegisterTypeDeclaration, getExistingTypeDeclaration, getTypeDeclaration, normalizeForeignPackages, processTypeDeclarations, processTypeDeclarations, removeTypesGeneratedFromResource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • postGenerateDeclaredBean

        protected void postGenerateDeclaredBean​(org.drools.drl.ast.descr.AbstractClassTypeDeclarationDescr typeDescr,
                                                org.drools.base.rule.TypeDeclaration type,
                                                org.drools.base.factmodel.ClassDefinition def,
                                                org.drools.compiler.compiler.PackageRegistry pkgRegistry)
        Overrides:
        postGenerateDeclaredBean in class org.drools.compiler.builder.impl.TypeDeclarationBuilder
      • updateTraitDefinition

        protected void updateTraitDefinition​(org.drools.base.rule.TypeDeclaration type,
                                             java.lang.Class concrete,
                                             boolean asTrait)