Mercurial > hg > truffle
changeset 20891:129a09815063
Truffle/Instrumentation: eclipseformat
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Fri, 10 Apr 2015 21:53:38 -0700 |
parents | 263ab98b3bf0 |
children | 2818f2862a0d |
files | graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Fri Apr 10 21:14:14 2015 -0700 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Fri Apr 10 21:53:38 2015 -0700 @@ -69,8 +69,9 @@ * <p> * <ol> * <li>Implement one of the <em>listener interfaces</em>: {@link SimpleInstrumentListener} or - * {@link StandardInstrumentListener} . Their event handling methods account for both the entry into an - * AST node (about to call) and three possible kinds of <em>execution return</em> from an AST node.</li> + * {@link StandardInstrumentListener} . Their event handling methods account for both the entry into + * an AST node (about to call) and three possible kinds of <em>execution return</em> from an AST + * node.</li> * <li>Extend one of the <em>helper implementations</em>: {@link DefaultSimpleInstrumentListener} or * {@link DefaultStandardInstrumentListener}. These provide no-op implementation of every listener * method, so only the methods of interest need to be overridden.</li> @@ -85,8 +86,8 @@ * implement a debugger with this interface. * </p> * <p> - * As a consequence, implementations of {@link StandardInstrumentListener} effectively become part of - * the Truffle execution and must be coded according to general guidelines for Truffle + * As a consequence, implementations of {@link StandardInstrumentListener} effectively become part + * of the Truffle execution and must be coded according to general guidelines for Truffle * implementations. For example: * <ul> * <li>Do not store {@link Frame} or {@link Node} references in fields.</li> @@ -110,8 +111,8 @@ * <h4>Allowing for AST cloning:</h4> * <p> * Truffle routinely <em>clones</em> ASTs, which has consequences for implementations of - * {@link StandardInstrumentListener} (but not for implementations of {@link SimpleInstrumentListener}, - * from which cloning is hidden). + * {@link StandardInstrumentListener} (but not for implementations of + * {@link SimpleInstrumentListener}, from which cloning is hidden). * <ul> * <li>Even though a {@link Probe} is uniquely associated with a particular location in the * executing Guest Language program, execution events at that location will in general be @@ -181,8 +182,8 @@ * Creates an instrument that will route execution events to a listener, along with access to * internal execution state. * - * @param standardListener a listener for event generated by the instrument that provides access to - * internal execution state + * @param standardListener a listener for event generated by the instrument that provides access + * to internal execution state * @param instrumentInfo optional description of the instrument's role, useful for debugging. * @return a new instrument, ready for attachment at a probe */