Package org.teamapps.dto.generate
Class TeamAppsDtoModel
java.lang.Object
org.teamapps.dto.generate.TeamAppsDtoModel
public class TeamAppsDtoModel
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TeamAppsDtoModel(java.util.List<TeamAppsDtoParser.ClassCollectionContext> classCollectionContexts)TeamAppsDtoModel(TeamAppsDtoParser.ClassCollectionContext classCollectionContext) -
Method Summary
-
Constructor Details
-
TeamAppsDtoModel
-
TeamAppsDtoModel
public TeamAppsDtoModel(java.util.List<TeamAppsDtoParser.ClassCollectionContext> classCollectionContexts)
-
-
Method Details
-
getClassDeclarations
-
getInterfaceDeclarations
-
getEnumDeclarations
-
getEventDeclarations
-
getQueryDeclarations
-
getCommandDeclarations
-
getClassesAndInterfacesReferencedForSubEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getClassesAndInterfacesReferencedForSubEvents() -
findReferencedClass
public TeamAppsDtoParser.ClassDeclarationContext findReferencedClass(TeamAppsDtoParser.TypeContext typeContext) -
findReferencedInterface
public TeamAppsDtoParser.InterfaceDeclarationContext findReferencedInterface(TeamAppsDtoParser.TypeContext typeContext) -
findClassByName
public TeamAppsDtoParser.ClassDeclarationContext findClassByName(java.lang.String className, boolean throwExceptionIfNotFound) -
findReferencedEnum
public TeamAppsDtoParser.EnumDeclarationContext findReferencedEnum(TeamAppsDtoParser.TypeContext typeContext) -
findAncestorOfType
public static <T extends org.antlr.v4.runtime.RuleContext> T findAncestorOfType(org.antlr.v4.runtime.RuleContext ruleContext, java.lang.Class<T> ancestorType) -
findAllSuperClasses
public java.util.List<TeamAppsDtoParser.ClassDeclarationContext> findAllSuperClasses(TeamAppsDtoParser.ClassDeclarationContext clazzContext) -
findSelfAndAllSuperClasses
public java.util.List<TeamAppsDtoParser.ClassDeclarationContext> findSelfAndAllSuperClasses(TeamAppsDtoParser.ClassDeclarationContext clazzContext) -
findAllSubClasses
public java.util.List<TeamAppsDtoParser.ClassDeclarationContext> findAllSubClasses(TeamAppsDtoParser.ClassDeclarationContext clazzContext) -
findAllSubClasses
public java.util.List<TeamAppsDtoParser.ClassDeclarationContext> findAllSubClasses(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllSubInterfaces
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> findAllSubInterfaces(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllProperties
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> findAllProperties(TeamAppsDtoParser.ClassDeclarationContext clazzContext) -
findAllProperties
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> findAllProperties(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
distinctByKey
public <T> java.util.function.Predicate<T> distinctByKey(java.util.function.Function<? super T,?> keyExtractor) -
filterRequiredProperties
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> filterRequiredProperties(java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> propertyDeclarations, boolean required) -
findSuperClass
public TeamAppsDtoParser.ClassDeclarationContext findSuperClass(TeamAppsDtoParser.ClassDeclarationContext clazzContext) -
findAllSuperInterfaces
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> findAllSuperInterfaces(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findSuperInterfaces
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> findSuperInterfaces(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllImplementedInterfaces
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> findAllImplementedInterfaces(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getDirectlyImplementedInterfaces
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> getDirectlyImplementedInterfaces(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findInterfaceByName
public TeamAppsDtoParser.InterfaceDeclarationContext findInterfaceByName(java.lang.String name, boolean throwExceptionIfNotFound) -
findAllImplementingClasses
public java.util.List<TeamAppsDtoParser.ClassDeclarationContext> findAllImplementingClasses(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllSuperInterfacesAndSelf
public java.util.List<TeamAppsDtoParser.InterfaceDeclarationContext> findAllSuperInterfacesAndSelf(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getSimplePropertiesSortedByRelevance
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> getSimplePropertiesSortedByRelevance(java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> properties) -
findPropertiesNotImplementedBySuperClasses
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> findPropertiesNotImplementedBySuperClasses(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findSuperClassAndDirectlyImplementedInterfaces
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findSuperClassAndDirectlyImplementedInterfaces(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllCommands
public java.util.List<TeamAppsDtoParser.CommandDeclarationContext> getAllCommands(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllCommands
public java.util.List<TeamAppsDtoParser.CommandDeclarationContext> getAllCommands(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getAllEvents
public java.util.List<TeamAppsDtoParser.EventDeclarationContext> getAllEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllEvents
public java.util.List<TeamAppsDtoParser.EventDeclarationContext> getAllEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getAllQueries
public java.util.List<TeamAppsDtoParser.QueryDeclarationContext> getAllQueries(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllQueries
public java.util.List<TeamAppsDtoParser.QueryDeclarationContext> getAllQueries(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
superClassAndDirectlyImplementedInterfacesWithCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithCommands(TeamAppsDtoParser.ClassDeclarationContext classContext) -
superClassAndDirectlyImplementedInterfacesWithEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getSuperInterfacesWithCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithCommands(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getSuperInterfacesWithEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
isDescendantOfClassOrInterfaceReferencedForSubEvents
public boolean isDescendantOfClassOrInterfaceReferencedForSubEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
isDescendantOfClassOrInterfaceReferencedForSubEvents
public boolean isDescendantOfClassOrInterfaceReferencedForSubEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getDeclaringClassOrInterface
public static org.antlr.v4.runtime.ParserRuleContext getDeclaringClassOrInterface(org.antlr.v4.runtime.ParserRuleContext element) -
getDeclaringClassOrInterfaceName
public static java.lang.String getDeclaringClassOrInterfaceName(org.antlr.v4.runtime.ParserRuleContext element) -
getAllClassesAndInterfacesWithEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getAllClassesAndInterfacesWithEvents() -
getAllClassesAndInterfacesWithQueries
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getAllClassesAndInterfacesWithQueries() -
findAllReferencedClassesAndInterfaces
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllReferencedClassesAndInterfaces(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findAllReferencedEnums
public java.util.List<TeamAppsDtoParser.EnumDeclarationContext> findAllReferencedEnums(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findAllReferencedClassesAndInterfaces
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllReferencedClassesAndInterfaces(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllReferencedEnums
public java.util.List<TeamAppsDtoParser.EnumDeclarationContext> findAllReferencedEnums(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
findAllReferencedClassesAndInterfaces
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllReferencedClassesAndInterfaces(TeamAppsDtoParser.EventDeclarationContext eventContext) -
findAllReferencedEnums
public java.util.List<TeamAppsDtoParser.EnumDeclarationContext> findAllReferencedEnums(TeamAppsDtoParser.EventDeclarationContext eventDeclarationContext) -
findAllClassesInterfacesAndEnumsReferencedByEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllClassesInterfacesAndEnumsReferencedByEvents() -
findAllNotYetImplementedProperties
public java.util.List<TeamAppsDtoParser.PropertyDeclarationContext> findAllNotYetImplementedProperties(TeamAppsDtoParser.ClassDeclarationContext classContext) -
isReferenceType
-
isReferenceableClass
-
isReferenceableBaseClass
-
findSelfNearestAncestorClassWithReferenceableAttribute
public TeamAppsDtoParser.ClassDeclarationContext findSelfNearestAncestorClassWithReferenceableAttribute(TeamAppsDtoParser.ClassDeclarationContext clazz) -
getReferenceableProperties
public java.lang.Object getReferenceableProperties(TeamAppsDtoParser.ClassDeclarationContext classContext)
-