| Modifier and Type | Class and Description |
|---|---|
| private static class | Utils.
A memory-sensitive cache for |
| private static class | |
| public static enum | |
| private static class | |
| public static enum | Utils.
An element can have flags that place it into some subcategories, like being a preview or a deprecated element. |
| public static record | |
| private class | |
| public static class | Utils.
the type of the first value K, the type of the second value L>A container holding a pair of values (tuple). |
| public static interface | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private final Utils. | |
| public final Comparators | |
| public final BaseConfiguration | |
| private Utils. | |
| private final Map | dcTreeCache
A cache of doc comment info objects for elements. |
| private final DocFinder | |
| public final DocTrees | |
| public final Elements | |
| private final TypeElement | |
| private final JavaScriptScanner | |
| private final Map | |
| private Map | |
| private final Map | |
| private final BaseOptions | |
| private Utils. | |
| private final Resources | |
| private Utils. | |
| private SimpleElementVisitor14 | |
| private SimpleElementVisitor14 | |
| private SimpleElementVisitor14 | |
| private final Map | |
| private Utils. | |
| public final Types |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Collection | |
| private Collection | |
| private Collection | |
| public TypeMirror | Returns: the instantiated field type.the contextual type. site, VariableElement the field declaration. ve)Returns the TypeMirror corresponding to the type of the field declaration seen as a member of a given declared type. |
| public ExecutableType | Returns: the instantiated method type.the contextual type. site, ExecutableElement the method declaration. ee)Returns the ExecutableType corresponding to the type of the method declaration seen as a member of a given declared type. |
| public TypeElement | Returns: theTypeElement of this type,
or null if it is a primitive type.Return this type as a |
| public void | |
| private boolean | |
| public int | Returns: a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.first String to compare. s1, String second String to compare. s2)A general purpose case insensitive String comparator, which compares two Strings using a Collator strength of "TERTIARY". |
| pack-priv int | |
| public String | |
| public ModuleElement | |
| public PackageElement | |
| public Utils. | |
| private JavaFileManager. | |
| public boolean | |
| public static String | |
| public DocFinder | |
| public Set | Returns: the set of all the element's flags.the element to test el)Return all flags for the given Element. |
| public SortedSet | Returns: list of filtered classes.a collection of TypeElements classlist, boolean set to true if in JavaFX mode. javafx)In case of JavaFX mode on, filters out classes that are private, package private, these are not documented in JavaFX mode, also remove those classes that have @hidden or @treatAsPrivate comment tag. |
| public String | Returns: signature with simple (unqualified) parameter typesthe executable element e, TypeElement the contextual site site)Get the flat signature of an executable element with simple (unqualified)
parameter types in the context of type element |
| public SortedSet | Returns: the classes and interfacesthe element pkg)Returns a sorted set containing the documented classes and interfaces in a package. |
| public SortedSet | Returns: the interfacesthe package pkg)Returns all the classes in a package. |
| public Set | Returns: the list of superinterfaces.the type element to get the superinterfaces for. te)Returns all the implemented superinterfaces of a given type, in the case of classes, include all the superinterfaces of the supertype. |
| private < the class of the filtered members T extends Element> List | Returns: the list of enclosed elementsthe element, such as a package element or type element e, ElementKind the element kind kind, Class<T> the class of the filtered members clazz)Returns a list of elements of a given type with a given kind. |
| private Object | getAnnotationElement(Element e, TypeMirror annotationType, String annotationElementName)
Returns the Deprecated annotation element value of the given element, or null. |
| public List | Returns: the fields and methodsthe annotation interface te)Returns the fields and methods declared in an annotation interface. |
| public List | Returns: the listthe element element)Returns the "raw" list of block tags from the doc-comment tree for an element, or an empty list if there is no such comment. |
| public List | Returns: the listthe doc-comment tree dcTree)Returns the "raw" list of block tags from a |
| public List | Returns: the listthe element element, Predicate<? super BlockTagTree> the filter filter)Returns the list of block tags for the doc-comment tree for an element that match a given filter, or an empty list if there is no such doc-comment. |
| public < the type of the required block tags T extends BlockTagTree> List | Returns: the listthe element element, Predicate<? super BlockTagTree> the filter filter, Class<T> tClass)Returns the list of block tags for the doc-comment tree for an element that match a given filter, or an empty list if there is no such doc-comment. |
| public List | Returns: the listthe element element, DocTree.Returns the list of block tags for the doc-comment tree for an element, or an empty list if there is no such doc-comment. |
| public < the type of the required block tags T extends BlockTagTree> List | Returns: the listthe element element, DocTree.the kind for the required block tags kind,Returns the list of block tags for the doc-comment tree for an element that match a given kind, or an empty list if there is no such doc-comment. |
| public List | Returns: the listthe element element, String the name of the required block tags tagName)Returns the list of block tags for the doc-comment tree for an element that match a given name, or an empty list if there is no such doc-comment. |
| public List | |
| public List | |
| public CommentHelper | |
| public TypeMirror | |
| public List | Returns: the constructorsthe type element te)Returns the documented constructors in a type element. |
| public TypeMirror | |
| public TypeMirror | getDeclaredType(Collection<TypeMirror> values, TypeElement
a TypeElement whose type arguments we desire enclosing, TypeMirror the TypeMirror of the type as described by the enclosing target)Finds the declaration of the enclosing's type parameter. |
| public Map | |
| public String | Returns: the Deprecated.since value for e, or null.the Element to check. e)Returns the value of the |
| public List | |
| public TypeMirror | |
| public String | Returns: the type's dimension information as a string.Return the type's dimension information, as a string. |
| private CommentUtils. | |
| private CommentUtils. | |
| public DocCommentTree | |
| public DocCommentTree | Returns: DocCommentTree for the Elementthe element element)Retrieves the doc comments for a given element. |
| private < the class of the filtered members T extends Element> List | Returns: the list of enclosed elementsthe element, such as a package element or type element e, ElementKind the element kind kind, Class<T> the class of the filtered members clazz)Returns a list of documented elements of a given type with a given kind. |
| public Iterable | Returns: the elementsthe package pkg)Returns the recursively enclosed documented type elements in a package |
| public TypeElement | |
| public List | Returns: the interfacesthe element te)Returns the documented enum constants in a type element. |
| public TypeMirror | |
| public List | Returns: the fieldsthe element te)Returns the documented fields in a type element. |
| public List | Returns: the fieldsthe element te)Returns the fields in a type element. |
| public FileObject | |
| public List | |
| public TypeMirror | Returns: the closest visible superclass. Return null if it cannot be found.the TypeMirror to be interrogated type)Given a class, return the closest visible superclass. |
| public TypeMirror | Returns: the closest visible superclass. Return null if it cannot be found.the TypeElement to be interrogated te)Given a class, return the closest visible superclass. |
| public TypeElement | |
| public List | |
| public String | Returns: the namethe element to get FQN for. e)A generic utility which returns the fully qualified names of an entity, if the entity is not qualifiable then its enclosing entity, it is up to the caller to add the elements name as required. |
| public String | |
| public TypeMirror | |
| private < the class of the filtered members T extends Element> List | Returns: the list of enclosed elementsthe element, such as a package element or type element e, boolean whether to search through all packages and classes, or just documented ones all, Predicate<Element> the predicate to select members select, Class<T> the class of the filtered members clazz)Returns a list of elements of a given type that match a predicate. |
| private < the class of the filtered members T extends Element> List | Returns: the list of enclosed elementsthe element, such as a package element or type element e, boolean whether to search all packages and classes, or just documented ones all, Predicate<Element> the predicate for the selected members select, Class<T> the class of the filtered members clazz)Returns a list of immediately enclosed elements of a given class that match a predicate. |
| public long | |
| public JavaFileManager. | |
| public JavaFileManager. | |
| public List | Returns: the methodsthe type element te)Returns the documented methods in a type element. |
| public String | |
| public String | |
| public Map | |
| public TypeMirror | |
| public String | |
| public List | |
| private List | |
| public List | |
| public Object | Returns: the PreviewFeature.feature for e, or nullthe Element to check e)Returns the value of the internal |
| public String | |
| public String | |
| public List | |
| public String | Returns: the fully qualified name of Reference type or the primitive namethe type whose name is to be obtained. t)Get the qualified type name of a TypeMirror compatible with the Element's getQualified name, returns the qualified name of the Reference type otherwise the primitive name. |
| public List | |
| public TypeMirror | Returns: the return typethe contextual type site, ExecutableElement the ExecutableElement ee)Returns the TypeMirror of the ExecutableElement if it is a method, or null if it is a constructor. |
| public List | |
| public List | |
| public List | |
| public TypeMirror | |
| public List | |
| public String | Returns: the namean element whose name is required e)Returns the name of the element after the last dot of the package name. |
| private String | |
| public List | |
| public TypeMirror | |
| public TypeMirror | |
| public List | |
| public TreePath | |
| public String | Returns: the namethe type element te, boolean true if you want the name returned in lower case;
if false, the first letter of the name is capitalized lowerCaseOnly)Returns the name of the kind of a type element (Class, Interface, etc.). |
| public SortedSet | |
| public String | |
| public List | |
| public String | |
| public List | |
| public boolean | |
| public boolean | |
| pack-priv boolean | |
| public boolean | Returns: true if the element has a comment, and false otherwisethe element element)Checks whether an element has an associated doc comment. |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | isCoreClass(TypeElement e)
According to The Java Language Specification, all the outer classes and static inner classes are core classes. |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the given Element is deprecated.the Element to check. e)Return true if the given Element is deprecated. |
| public boolean | Returns: true if the given Element is deprecated for removal.the Element to check. e)Returns true if the given Element is deprecated for removal. |
| public boolean | Returns: true return true if it should be documented and false otherwise.the annotation to check. annotation)Given an annotation, return true if it should be documented and false otherwise. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if type arguments were foundthe type type)Returns true if |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if this class is linkable and false if we can't link to the desired class.Returns true if this class is linkable and false if we can't link to it. |
| public boolean | Returns: whether or not the element is linkablethe type element typeElem, Element the element elem)Returns true if an element is linkable in the context of a given type element. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if and only if the given element should be marked as a preview APIthe element to check el)Checks whether the given Element should be marked as a preview API. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if and only if the given element should be marked as a reflective preview APIthe element to check el)Checks whether the given Element should be marked as a reflective preview API. |
| public boolean | Returns: true if and only if the given element should be marked as a restricted APIthe element to check el)Checks whether the given ExecutableElement should be marked as a restricted API. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | Returns: true if typeElement is in a package that is not unconditionally exported by its modulea type element typeElement)Returns true if typeElement is in a package that is not unconditionally exported by its module. |
| public boolean | |
| public boolean | Returns: true if the type element is visiblethe type element typeElement)Returns |
| public boolean | |
| public String | |
| public String | |
| private DocFinder | |
| public String | Returns: normalized stringthe string to be normalized s)Replaces each group of one or more whitespace characters with a single canonical space |
| private boolean | |
| public Utils. | |
| private Iterable | |
| public Set | Returns: the set of preview language features used to declare the given elementthe Element to check. e)Return the set of preview language features used to declare the given element. |
| public String | Returns: the name of the property of the given setter of getter.the input method. e)A convenience method to get property name from the name of the getter or setter method. |
| private < the class of the filtered members T extends Element> void | recursiveGetItems(Collection<T> list, Element
the element, such as a package element or type element e, boolean whether to search all packages and classes, or just documented ones all, Predicate<Element> the filter filter, Class<T> the class of the filtered members clazz)Searches for a list of recursively enclosed elements of a given class that match a predicate. |
| public void | |
| public String | Returns: the text with all tabs expandedthe text for which the tabs should be expanded text)Replace all tabs in a string with the appropriate number of spaces. |
| public SortedSet | |
| public SortedSet | |
| public Utils. | |
| public boolean | |
| private boolean | |
| public String | Returns: String signature with qualified parameter typesthe executable element e, TypeElement the contextual site site)Get the signature of an executable element with qualified parameter types
in the context of type element |
| public static String | Returns: converted Stringto convert s)Returns a locale independent lower cased String. |
| private Collection |