Package org.drools.compiler.builder.impl
Class TypeDeclarationFactory
java.lang.Object
org.drools.compiler.builder.impl.TypeDeclarationFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTypeDeclarationFactory(TypeDeclarationContext context, BuildResultCollector results) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckRedeclaration(AbstractClassTypeDeclarationDescr typeDescr, TypeDeclaration type, PackageRegistry pkgRegistry) protected intcompareTypeDeclarations(TypeDeclaration oldDeclaration, TypeDeclaration newDeclaration) protected voidmergeTypeDeclarations(TypeDeclaration oldDeclaration, TypeDeclaration newDeclaration) Merges all the missing FactFields from oldDefinition into newDeclaration.protected booleanstatic voidprocessAnnotations(AbstractClassTypeDeclarationDescr typeDescr, TypeDeclaration type) processTypeDeclaration(PackageRegistry pkgRegistry, AbstractClassTypeDeclarationDescr typeDescr)
-
Field Details
-
context
-
-
Constructor Details
-
TypeDeclarationFactory
-
-
Method Details
-
processTypeDeclaration
public TypeDeclaration processTypeDeclaration(PackageRegistry pkgRegistry, AbstractClassTypeDeclarationDescr typeDescr) -
processAnnotations
public static void processAnnotations(AbstractClassTypeDeclarationDescr typeDescr, TypeDeclaration type) -
checkRedeclaration
protected void checkRedeclaration(AbstractClassTypeDeclarationDescr typeDescr, TypeDeclaration type, PackageRegistry pkgRegistry) -
mergeTypeDeclarations
protected void mergeTypeDeclarations(TypeDeclaration oldDeclaration, TypeDeclaration newDeclaration) Merges all the missing FactFields from oldDefinition into newDeclaration. -
compareTypeDeclarations
protected int compareTypeDeclarations(TypeDeclaration oldDeclaration, TypeDeclaration newDeclaration) throws IncompatibleClassChangeError - Throws:
IncompatibleClassChangeError
-
nullSafeEqualityComparison
-