public class DescrTypeDefinition extends Object implements TypeDefinition
Constructor and Description |
---|
DescrTypeDefinition(org.drools.compiler.lang.descr.PackageDescr packageDescr,
org.drools.compiler.lang.descr.TypeDeclarationDescr typeDeclarationDescr,
TypeResolver typeResolver) |
Modifier and Type | Method and Description |
---|---|
List<FieldDefinition> |
findInheritedDeclaredFields() |
Optional<Class<?>> |
getAbstractResolvedClass() |
List<AnnotationDefinition> |
getAnnotationsToBeAdded() |
Optional<String> |
getDeclaredAbstractClass() |
List<org.drools.compiler.compiler.DroolsError> |
getErrors() |
List<DescrFieldDefinition> |
getFields() |
List<String> |
getInterfacesNames() |
List<FieldDefinition> |
getKeyFields() |
List<MethodDefinition> |
getMethods() |
Optional<String> |
getSuperTypeName() |
String |
getTypeName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavadoc
public DescrTypeDefinition(org.drools.compiler.lang.descr.PackageDescr packageDescr, org.drools.compiler.lang.descr.TypeDeclarationDescr typeDeclarationDescr, TypeResolver typeResolver)
public String getTypeName()
getTypeName
in interface TypeDefinition
public Optional<String> getSuperTypeName()
getSuperTypeName
in interface TypeDefinition
public List<String> getInterfacesNames()
getInterfacesNames
in interface TypeDefinition
public List<AnnotationDefinition> getAnnotationsToBeAdded()
getAnnotationsToBeAdded
in interface TypeDefinition
public List<FieldDefinition> findInheritedDeclaredFields()
findInheritedDeclaredFields
in interface TypeDefinition
public List<DescrFieldDefinition> getFields()
getFields
in interface TypeDefinition
public List<FieldDefinition> getKeyFields()
getKeyFields
in interface TypeDefinition
public List<org.drools.compiler.compiler.DroolsError> getErrors()
public List<MethodDefinition> getMethods()
getMethods
in interface TypeDefinition
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.