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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TeamAppsDtoModel
-
TeamAppsDtoModel
public TeamAppsDtoModel(java.util.List<TeamAppsDtoParser.ClassCollectionContext> classCollectionContexts)
-
-
Method Details
-
getClassDeclarations
-
getInterfaceDeclarations
-
getEnumDeclarations
-
getEventDeclarations
-
getCommandDeclarations
-
getSubEventDeclarations
-
getSubCommandDeclarations
-
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) -
getAllSubCommands
public java.util.List<TeamAppsDtoParser.SubCommandDeclarationContext> getAllSubCommands(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllSubCommands
public java.util.List<TeamAppsDtoParser.SubCommandDeclarationContext> getAllSubCommands(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getAllSubEvents
public java.util.List<TeamAppsDtoParser.SubEventDeclarationContext> getAllSubEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getAllSubEvents
public java.util.List<TeamAppsDtoParser.SubEventDeclarationContext> getAllSubEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
superClassAndDirectlyImplementedInterfacesWithCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithCommands(TeamAppsDtoParser.ClassDeclarationContext classContext) -
superClassAndDirectlyImplementedInterfacesWithSubCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithSubCommands(TeamAppsDtoParser.ClassDeclarationContext classContext) -
superClassAndDirectlyImplementedInterfacesWithEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
superClassAndDirectlyImplementedInterfacesWithSubEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> superClassAndDirectlyImplementedInterfacesWithSubEvents(TeamAppsDtoParser.ClassDeclarationContext classContext) -
getSuperInterfacesWithCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithCommands(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getSuperInterfacesWithSubCommands
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithSubCommands(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getSuperInterfacesWithEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
getSuperInterfacesWithSubEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getSuperInterfacesWithSubEvents(TeamAppsDtoParser.InterfaceDeclarationContext interfaceContext) -
interfaceOrDescendantHasSubCommandDeclarations
public boolean interfaceOrDescendantHasSubCommandDeclarations(TeamAppsDtoParser.InterfaceDeclarationContext interf) -
classOrSubClassHasSubCommandDeclarations
public boolean classOrSubClassHasSubCommandDeclarations(TeamAppsDtoParser.ClassDeclarationContext classContext) -
interfaceOrDescendantHasSubEventDeclarations
public boolean interfaceOrDescendantHasSubEventDeclarations(TeamAppsDtoParser.InterfaceDeclarationContext interf) -
classOrSubClassHasSubEventDeclarations
public boolean classOrSubClassHasSubEventDeclarations(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findAllSubEventsInHierarchy
public java.util.List<TeamAppsDtoParser.SubEventDeclarationContext> findAllSubEventsInHierarchy(TeamAppsDtoParser.ClassDeclarationContext classContext) -
findAllSubEventsInHierarchy
public java.util.List<TeamAppsDtoParser.SubEventDeclarationContext> findAllSubEventsInHierarchy(TeamAppsDtoParser.InterfaceDeclarationContext classContext) -
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() -
getAllClassesAndInterfacesWithSubEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> getAllClassesAndInterfacesWithSubEvents() -
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) -
findAllReferencedClassesAndInterfaces
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllReferencedClassesAndInterfaces(TeamAppsDtoParser.SubEventDeclarationContext eventContext) -
findAllReferencedEnums
public java.util.List<TeamAppsDtoParser.EnumDeclarationContext> findAllReferencedEnums(TeamAppsDtoParser.SubEventDeclarationContext eventDeclarationContext) -
findAllClassesInterfacesAndEnumsReferencedByEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllClassesInterfacesAndEnumsReferencedByEvents() -
findAllClassesInterfacesAndEnumsReferencedBySubEvents
public java.util.List<org.antlr.v4.runtime.ParserRuleContext> findAllClassesInterfacesAndEnumsReferencedBySubEvents() -
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)
-