Package com.nomagic.magicdraw.annotation
Class AnnotationManager.DefaultAnnotatableChildrenInspector
- java.lang.Object
-
- com.nomagic.magicdraw.annotation.AnnotationManager.DefaultAnnotatableChildrenInspector
-
- All Implemented Interfaces:
com.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
- Enclosing class:
- AnnotationManager
private static class AnnotationManager.DefaultAnnotatableChildrenInspector extends java.lang.Object implements com.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationManagerannotationManagerprivate java.util.Set<BaseElement>childrenprivate BaseElementowner
-
Constructor Summary
Constructors Constructor Description DefaultAnnotatableChildrenInspector(BaseElement owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasChild(BaseElement element)booleanhasChildren(AnnotationSubset subset)
-
-
-
Field Detail
-
annotationManager
private final AnnotationManager annotationManager
-
owner
private final BaseElement owner
-
children
@CheckForNull private java.util.Set<BaseElement> children
-
-
Constructor Detail
-
DefaultAnnotatableChildrenInspector
public DefaultAnnotatableChildrenInspector(BaseElement owner)
-
-
Method Detail
-
hasChildren
public boolean hasChildren(AnnotationSubset subset)
- Specified by:
hasChildrenin interfacecom.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
-
hasChild
public boolean hasChild(BaseElement element)
- Specified by:
hasChildin interfacecom.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
-
-