return ""; File f = tag.position().file();
@Override public String toString(Tag tag) { File f = tag.position().file(); String label = tag.text(); if (label == null || label.isEmpty()) label = "Source"; // Locate root directory as the one containing RELEASE-NOTES.txt if (JUNEAU_ROOT == null) { File f2 = f; while (true) { f2 = f2.getParentFile(); if (f2 == null) break; File f3 = new File(f2, "RELEASE-NOTES.txt"); if (f3.exists()) { JUNEAU_ROOT = f2.getAbsolutePath(); break; } } } if (JUNEAU_ROOT == null) return label; String path = f.getAbsolutePath(); String href = GITHUB_LINK + path.substring(JUNEAU_ROOT.length()); return "<a class='doclink' href='" + href + "'>" + label + "</a>"; }
@Override public String toString(Tag tag) { File f = tag.position().file(); String key = tag.text(); String href = null;
private void checkOnPropertiesTags(MethodDoc[] members) { for (MethodDoc methodDoc: members) { if (methodDoc.isIncluded()) { for (Tag tag: methodDoc.tags()) { String tagName = tag.name(); if (tagName.equals("@propertySetter") || tagName.equals("@propertyGetter") || tagName.equals("@propertyDescription")) { if (!isPropertyGetterOrSetter(members, methodDoc)) { configuration.message.warning(tag.position(), "doclet.javafx_tag_misuse"); } break; } } } } }
message.warning(tag.position(), "doclet.tag_misuse", "@" + taglet.getName(), holderType, combined_locations.toString());
message.warning(tag.position(), "doclet.tag_misuse", "@" + taglet.getName(), holderType, combined_locations.toString());
doclet.printError(tag.position(), "Cannot handle tag for holder " + tag.holder()); return; int pos = CharMatcher.WHITESPACE.indexIn(source); if ( pos < 0 ) { doclet.printError(tag.position(), "Invalid @startuml tag: Expected filename and PlantUML source"); return; doclet.printError(tag.position(), "Error generating UML image " + outputFile + ": " + e.getLocalizedMessage());