Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.util.jam
Interface JComment

All Superinterfaces:
JElement

public interface JComment
extends JElement

Encapsulates comment associated with a package, class, method, and so on. Although they are often declared in the same place (code comments) JComment is a distinct entity from JAnnotation.


Method Summary
 JSourcePosition getSourcePosition()
          Returns the location of this comment in the source, or null if it is unknown.
 String getText()
          Returns the text of this comment.
 
Methods inherited from interface com.bea.util.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, isSourceAvailable, toString
 

Method Detail

getText

String getText()
Returns the text of this comment.


getSourcePosition

JSourcePosition getSourcePosition()
Returns the location of this comment in the source, or null if it is unknown.

Specified by:
getSourcePosition in interface JElement

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02