Package org.jdrupes.mdoclet
Klasse DocTreesWrapper
java.lang.Object
com.sun.source.util.Trees
com.sun.source.util.DocTrees
org.jdrupes.mdoclet.DocTreesWrapper
Wraps the
DocTrees
passed to the constructor.The main purpose of the wrapper is to wrap the results from methods
that return a DocCommentTree
for already parsed content
in a DocCommentTreeWrapper
.
For method invocations with FileObject
s as argument,
the source is converted from markdown to html if the name ends
with “.md”.
-
Konstruktorübersicht
KonstruktorBeschreibungDocTreesWrapper
(MDoclet doclet, MDocletEnvironment environment, DocTrees docTrees) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungDelegates to the docTrees passed to the constructor.getCharacters
(EntityTree tree) Delegates to the docTrees passed to the constructor.getDocComment
(TreePath path) Delegates to the docTrees passed to the constructor.getDocCommentTree
(TreePath path) Substitutes the original doctree with one processed my the markdown processor.Delegates to the docTrees passed to the constructor.getDocCommentTree
(Element e, String relativePath) Delegates to the docTrees passed to the constructor.getDocCommentTree
(FileObject fileObject) Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.getDocTreePath
(FileObject fileObject, PackageElement packageElement) Delegates to the docTrees passed to the constructor.getElement
(DocTreePath path) Delegates to the docTrees passed to the constructor.getElement
(TreePath path) Delegates to the docTrees passed to the constructor.getFirstSentence
(List<? extends DocTree> list) Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.getOriginalType
(ErrorType errorType) Delegates to the docTrees passed to the constructor.getPath
(CompilationUnitTree unit, Tree node) Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.getPath
(Element e, AnnotationMirror a) Delegates to the docTrees passed to the constructor.getPath
(Element e, AnnotationMirror a, AnnotationValue v) Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.Delegates to the docTrees passed to the constructor.getTree
(Element e, AnnotationMirror a) Delegates to the docTrees passed to the constructor.getTree
(Element e, AnnotationMirror a, AnnotationValue v) Delegates to the docTrees passed to the constructor.getTree
(ExecutableElement method) Delegates to the docTrees passed to the constructor.getTree
(TypeElement element) Delegates to the docTrees passed to the constructor.getType
(DocTreePath path) Delegates to the docTrees passed to the constructor.getTypeMirror
(TreePath path) Delegates to the docTrees passed to the constructor.boolean
isAccessible
(Scope scope, Element member, DeclaredType type) Delegates to the docTrees passed to the constructor.boolean
isAccessible
(Scope scope, TypeElement type) Delegates to the docTrees passed to the constructor.void
printMessage
(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root) Delegates to the docTrees passed to the constructor.void
printMessage
(Diagnostic.Kind kind, CharSequence msg, Tree t, CompilationUnitTree root) Delegates to the docTrees passed to the constructor.void
setBreakIterator
(BreakIterator breakiterator) Delegates to the docTrees passed to the constructor.toString()
Delegates to the docTrees passed to the constructor.
-
Konstruktordetails
-
DocTreesWrapper
-
-
Methodendetails
-
getBreakIterator
Delegates to the docTrees passed to the constructor.- Angegeben von:
getBreakIterator
in KlasseDocTrees
- Siehe auch:
-
getDocCommentTree
Substitutes the original doctree with one processed my the markdown processor.- Angegeben von:
getDocCommentTree
in KlasseDocTrees
- Siehe auch:
-
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTree
in KlasseDocTrees
- Siehe auch:
-
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTree
in KlasseDocTrees
- Siehe auch:
-
getTree
Delegates to the docTrees passed to the constructor. -
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTree
in KlasseDocTrees
- Löst aus:
IOException
- Siehe auch:
-
getTree
Delegates to the docTrees passed to the constructor. -
getTree
Delegates to the docTrees passed to the constructor. -
getTree
Delegates to the docTrees passed to the constructor. -
getDocTreePath
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocTreePath
in KlasseDocTrees
- Siehe auch:
-
getTree
Delegates to the docTrees passed to the constructor. -
getPath
Delegates to the docTrees passed to the constructor. -
getPath
Delegates to the docTrees passed to the constructor. -
getElement
Delegates to the docTrees passed to the constructor.- Angegeben von:
getElement
in KlasseDocTrees
- Siehe auch:
-
getPath
Delegates to the docTrees passed to the constructor. -
getFirstSentence
Delegates to the docTrees passed to the constructor.- Angegeben von:
getFirstSentence
in KlasseDocTrees
- Siehe auch:
-
getPath
Delegates to the docTrees passed to the constructor. -
getSourcePositions
Delegates to the docTrees passed to the constructor.- Angegeben von:
getSourcePositions
in KlasseDocTrees
- Siehe auch:
-
getElement
Delegates to the docTrees passed to the constructor.- Angegeben von:
getElement
in KlasseTrees
- Siehe auch:
-
printMessage
public void printMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root) Delegates to the docTrees passed to the constructor.- Angegeben von:
printMessage
in KlasseDocTrees
- Siehe auch:
-
getTypeMirror
Delegates to the docTrees passed to the constructor.- Angegeben von:
getTypeMirror
in KlasseTrees
- Siehe auch:
-
setBreakIterator
Delegates to the docTrees passed to the constructor.- Angegeben von:
setBreakIterator
in KlasseDocTrees
- Siehe auch:
-
getScope
Delegates to the docTrees passed to the constructor. -
getDocTreeFactory
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocTreeFactory
in KlasseDocTrees
- Siehe auch:
-
getDocComment
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocComment
in KlasseTrees
- Siehe auch:
-
isAccessible
Delegates to the docTrees passed to the constructor.- Angegeben von:
isAccessible
in KlasseTrees
- Siehe auch:
-
isAccessible
Delegates to the docTrees passed to the constructor.- Angegeben von:
isAccessible
in KlasseTrees
- Siehe auch:
-
getOriginalType
Delegates to the docTrees passed to the constructor.- Angegeben von:
getOriginalType
in KlasseTrees
- Siehe auch:
-
printMessage
Delegates to the docTrees passed to the constructor.- Angegeben von:
printMessage
in KlasseTrees
- Siehe auch:
-
getLub
Delegates to the docTrees passed to the constructor. -
getType
Delegates to the docTrees passed to the constructor. -
getCharacters
Delegates to the docTrees passed to the constructor.- Angegeben von:
getCharacters
in KlasseDocTrees
-
toString
Delegates to the docTrees passed to the constructor.
-