Package org.codehaus.janino
Interface Java.DocCommentable
-
- All Known Implementing Classes:
Java.ConstructorDeclarator,Java.FieldDeclaration,Java.FunctionDeclarator,Java.InterfaceDeclaration,Java.LocalClassDeclaration,Java.MemberClassDeclaration,Java.MemberInterfaceDeclaration,Java.MethodDeclarator,Java.NamedClassDeclaration,Java.PackageMemberClassDeclaration,Java.PackageMemberInterfaceDeclaration
- Enclosing class:
- Java
public static interface Java.DocCommentableRepresentation of a Java™ element that can be annotated with a DOC comment ('/** ... */').
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDocComment()booleanhasDeprecatedDocTag()Returnstrueif the object has a doc comment and the@deprecatedtag appears in the doc comment.
-
-
-
Method Detail
-
getDocComment
String getDocComment()
- Returns:
- The doc comment of the object or
null
-
hasDeprecatedDocTag
boolean hasDeprecatedDocTag()
Returnstrueif the object has a doc comment and the@deprecatedtag appears in the doc comment.
-
-