/** Returns the model. */ @Override public Model getModel() { // Don't need to care about root case as that overrides. return parent.getModel(); }
/** Returns the model. */ @Override public Model getModel() { // Don't need to care about root case as that overrides. return parent.getModel(); }
/** Return true if the element is reachable with the current scoper. */ public boolean isReachable() { return getModel().getScoper().isReachable(this); }
/** Return true if the element is reachable with the current scoper. */ public boolean isReachable() { return getModel().getScoper().isReachable(this); }
public static String getScopedDescription(ProtoElement element, boolean reportWarning) { Model model = element.getModel(); LocationContext location = ResolvedLocation.create(element.getLocation()); String internalCommentFilteredString = new CommentFilter(model.getDiagReporter(), location, model.getVisibilityLabels()) .process(getDescription(element)); return sanitizeTodos( model.getDiagReporter(), location, internalCommentFilteredString, reportWarning); }
public static String getScopedDescription(ProtoElement element, boolean reportWarning) { Model model = element.getModel(); LocationContext location = ResolvedLocation.create(element.getLocation()); String internalCommentFilteredString = new CommentFilter(model.getDiagReporter(), location, model.getVisibilityLabels()) .process(getDescription(element)); return sanitizeTodos( model.getDiagReporter(), location, internalCommentFilteredString, reportWarning); }