Mercurial > hg > truffle
diff truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java @ 21972:ff6f34159b8a
Providing package-info for most of API packages. Feel free to provide your package-info.java for anything that has API in its name.
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Tue, 23 Jun 2015 12:44:41 +0200 |
parents | 9c8c0937da41 |
children | 5bc7f7b867ab |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Tue Jun 23 12:07:02 2015 +0200 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Tue Jun 23 12:44:41 2015 +0200 @@ -77,10 +77,11 @@ * <li>When a probed AST is cloned, the instrumentation chain associated with each Probe is cloned * along with the rest of the AST.</li> * - * <li>When a new Instrument (for example an instance of {@link SimpleInstrument} is attached to a - * Probe, the Instrument inserts a new instance of its private Node type, - * {@link SimpleInstrument.SimpleInstrumentNode}, into <em>each of the instrument chains</em> - * managed by the Probe, i.e. one node instance per existing clone of the AST.</li> + * <li>When a new Instrument (for example an instance created by + * {@link Instrument#create(com.oracle.truffle.api.instrument.SimpleInstrumentListener, java.lang.String)} + * is attached to a Probe, the Instrument inserts a new instance of its private Node type into + * <em>each of the instrument chains</em> managed by the Probe, i.e. one node instance per existing + * clone of the AST.</li> * * <li>If an Instrument is attached to a Probe in an AST that subsequently gets cloned, then the * Instrument's private Node type will be cloned along with the rest of the the AST.</li>