Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  JSourcePosition getSourcePosition()
          Returns the location of this comment in the source, or null if it is unknown.
abstract  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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09