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 AnnotationManager
annotationManager
private java.util.Set<BaseElement>
children
private BaseElement
owner
-
Constructor Summary
Constructors Constructor Description DefaultAnnotatableChildrenInspector(BaseElement owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasChild(BaseElement element)
boolean
hasChildren(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:
hasChildren
in interfacecom.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
-
hasChild
public boolean hasChild(BaseElement element)
- Specified by:
hasChild
in interfacecom.nomagic.magicdraw.annotation.AnnotatableChildrenInspector
-
-