Interface JCommentable
- All Known Subinterfaces:
JAnonymousClassDef, JAssignableExpr, JBlock, JCatch, JClassDef, JClassDefSection, JDocCommentable, JEnumConstant, JFor, JIf, JMethodDef, JPackageInfoFile, JSourceFile, JStatement, JSwitch, JTry, JVarDeclaration
- All Known Implementing Classes:
AbstractJAssignableExpr, AbstractJClassDef, AbstractJDocCommentable, AbstractJGeneric, AbstractJMethodDef, AnnotationJClassDef, AnnotationJMethodDef, AnonymousJClassDef, ArrayLookupJExpr, AssertMessageJStatement, BasicJAnnotatable, BasicJBlock, BasicJCommentable, BasicJStatement, CaseJBlock, ConditionJBlock, ConstructorJMethodDef, DefaultJBlock, DoJBlock, ElseJBlock, EmptyJStatement, EnumConstantJClassDef, EnumJClassDef, ExpressionJStatement, FieldRefJExpr, FinallyJBlock, FirstJVarDeclaration, ForEachJBlock, ForJBlock, GotoJStatement, ImplJAnonymousClassDef, ImplJCatch, ImplJEnumConstant, ImplJIf, ImplJLabel, ImplJParamDeclaration, ImplJSourceFile, ImplJSwitch, ImplJTry, InitJBlock, InnerJAnonymousClassDef, InterfaceJClassDef, JClassDefSectionImpl, KeywordExprJStatement, KeywordJStatement, MethodJMethodDef, NameJExpr, PlainJClassDef, StaticInitJBlock, StaticRefJExpr, SuccessorJVarDeclaration, SynchJBlock, TryJVarDeclaration, WhileJBlock
public interface JCommentable
A program element which can have comments attached to it.
-
Method Summary
Modifier and TypeMethodDescriptionAdd a block comment.Add a line comment.
-
Method Details
-
lineComment
-
blockComment
-