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 FileObjects as argument,
the source is converted from markdown to html if the name ends
with “.md”.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDocTreesWrapper(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.booleanisAccessible(Scope scope, Element member, DeclaredType type) Delegates to the docTrees passed to the constructor.booleanisAccessible(Scope scope, TypeElement type) Delegates to the docTrees passed to the constructor.voidprintMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root) Delegates to the docTrees passed to the constructor.voidprintMessage(Diagnostic.Kind kind, CharSequence msg, Tree t, CompilationUnitTree root) Delegates to the docTrees passed to the constructor.voidsetBreakIterator(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:
getBreakIteratorin KlasseDocTrees- Siehe auch:
-
getDocCommentTree
Substitutes the original doctree with one processed my the markdown processor.- Angegeben von:
getDocCommentTreein KlasseDocTrees- Siehe auch:
-
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTreein KlasseDocTrees- Siehe auch:
-
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTreein KlasseDocTrees- Siehe auch:
-
getTree
Delegates to the docTrees passed to the constructor. -
getDocCommentTree
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentTreein 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:
getDocTreePathin 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:
getElementin KlasseDocTrees- Siehe auch:
-
getPath
Delegates to the docTrees passed to the constructor. -
getFirstSentence
Delegates to the docTrees passed to the constructor.- Angegeben von:
getFirstSentencein KlasseDocTrees- Siehe auch:
-
getPath
Delegates to the docTrees passed to the constructor. -
getSourcePositions
Delegates to the docTrees passed to the constructor.- Angegeben von:
getSourcePositionsin KlasseDocTrees- Siehe auch:
-
getElement
Delegates to the docTrees passed to the constructor.- Angegeben von:
getElementin 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:
printMessagein KlasseDocTrees- Siehe auch:
-
getTypeMirror
Delegates to the docTrees passed to the constructor.- Angegeben von:
getTypeMirrorin KlasseTrees- Siehe auch:
-
setBreakIterator
Delegates to the docTrees passed to the constructor.- Angegeben von:
setBreakIteratorin KlasseDocTrees- Siehe auch:
-
getScope
Delegates to the docTrees passed to the constructor. -
getDocTreeFactory
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocTreeFactoryin KlasseDocTrees- Siehe auch:
-
getDocComment
Delegates to the docTrees passed to the constructor.- Angegeben von:
getDocCommentin KlasseTrees- Siehe auch:
-
isAccessible
Delegates to the docTrees passed to the constructor.- Angegeben von:
isAccessiblein KlasseTrees- Siehe auch:
-
isAccessible
Delegates to the docTrees passed to the constructor.- Angegeben von:
isAccessiblein KlasseTrees- Siehe auch:
-
getOriginalType
Delegates to the docTrees passed to the constructor.- Angegeben von:
getOriginalTypein KlasseTrees- Siehe auch:
-
printMessage
Delegates to the docTrees passed to the constructor.- Angegeben von:
printMessagein 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:
getCharactersin KlasseDocTrees
-
toString
Delegates to the docTrees passed to the constructor.
-