commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1392538 - in /commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla: caching/ forward/ forward/analysis/ forward/arithmetic/ forward/instructions/ forward/trimming/
Date Mon, 01 Oct 2012 19:29:03 GMT
Author: luc
Date: Mon Oct  1 19:29:02 2012
New Revision: 1392538

URL: http://svn.apache.org/viewvc?rev=1392538&view=rev
Log:
fixed checkstyle warnings

Modified:
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/caching/FetchDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ClassDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/TrackingValue.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/InvokeStaticTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Pop2Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/BytecodeTrimmer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/DLoadPop2Trimmer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDloadTrimmer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDstoreTrimmer.java

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/caching/FetchDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/caching/FetchDifferentiator.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/caching/FetchDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/caching/FetchDifferentiator.java
Mon Oct  1 19:29:02 2012
@@ -23,6 +23,7 @@ import org.apache.commons.math3.analysis
 /** Differentiator that fetches classes already differentiated by
  * {@link org.apache.commons.nabla.forward.ForwardModeDifferentiator}.
  * @see org.apache.commons.nabla.forward.ForwardModeDifferentiator
+ * @version $Id$
  */
 public class FetchDifferentiator implements UnivariateVectorFunctionDifferentiator {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeDifferentiator.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeDifferentiator.java
Mon Oct  1 19:29:02 2012
@@ -52,6 +52,7 @@ import org.objectweb.asm.tree.ClassNode;
  * analyzed and converted. Methods from math implementation classes are only
  * recognized by class and name and replaced by predefined derivative code.</p>
  * @see org.apache.commons.nabla.caching.FetchDifferentiator
+ * @version $Id$
  */
 public class ForwardModeDifferentiator implements UnivariateFunctionDifferentiator {
 
@@ -59,6 +60,7 @@ public class ForwardModeDifferentiator i
     private final HashMap<Class<? extends UnivariateFunction>,
                           Class<? extends UnivariateDifferentiableFunction>> map;
 
+    /** Class name/ bytecode map. */
     private final HashMap<String, byte[]> byteCodeMap;
 
     /** Math implementation classes. */

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ClassDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ClassDifferentiator.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ClassDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ClassDifferentiator.java
Mon Oct  1 19:29:02 2012
@@ -50,12 +50,16 @@ import org.objectweb.asm.tree.MethodNode
  * <p>
  * The original class bytecode is not changed at all.
  * </p>
+ * @version $Id$
  */
 public class ClassDifferentiator {
 
     /** Name for the primitive instance field. */
     private static final String PRIMITIVE_FIELD = "primitive";
 
+    /** Name fo the constructor methods. */
+    private static final String INIT = "<init>";
+
     /** Math implementation classes. */
     private final Set<String> mathClasses;
 
@@ -171,14 +175,13 @@ public class ClassDifferentiator {
     /** Add the class constructor.
      */
     private void addConstructor() {
-        final String init = "<init>";
         final MethodNode constructor =
-            new MethodNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_SYNTHETIC, init,
+            new MethodNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_SYNTHETIC, INIT,
                            Type.getMethodDescriptor(Type.VOID_TYPE, Type.getType(primitiveClass)),
                            null, null);
         constructor.visitVarInsn(Opcodes.ALOAD, 0);
         constructor.visitMethodInsn(Opcodes.INVOKESPECIAL, Type.getType(Object.class).getInternalName(),
-                                    init, "()V");
+                                    INIT, "()V");
         constructor.visitVarInsn(Opcodes.ALOAD, 0);
         constructor.visitVarInsn(Opcodes.ALOAD, 1);
         constructor.visitFieldInsn(Opcodes.PUTFIELD, classNode.name, PRIMITIVE_FIELD,
@@ -225,7 +228,7 @@ public class ClassDifferentiator {
         method.visitInsn(Opcodes.DUP);
         method.visitVarInsn(Opcodes.ALOAD, 2);
         method.visitMethodInsn(Opcodes.INVOKESPECIAL, Type.getInternalName(RuntimeException.class),
-                               "<init>", Type.getMethodDescriptor(Type.VOID_TYPE, Type.getType(Throwable.class)));
+                               INIT, Type.getMethodDescriptor(Type.VOID_TYPE, Type.getType(Throwable.class)));
         method.visitInsn(Opcodes.ATHROW);
         classNode.methods.add(method);
    }

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
Mon Oct  1 19:29:02 2012
@@ -25,6 +25,7 @@ import org.objectweb.asm.tree.InsnList;
 /** Transformer for bytecode instructions.
  * <p>Transformation is done by replacing a single instruction with
  * a complete list.</p>
+ * @version $Id$
  */
 public interface InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
Mon Oct  1 19:29:02 2012
@@ -67,6 +67,7 @@ import org.objectweb.asm.tree.analysis.I
 
 /** Class transforming a method computing a value to a method
  * computing both a value and its differential.
+ * @version $Id$
  */
 public class MethodDifferentiator {
 
@@ -77,7 +78,7 @@ public class MethodDifferentiator {
     private final Set<String> mathClasses;
 
     /** Name of the derived class. */
-    private final String name;
+    private final String derivedName;
 
     /** Used locals variables array. */
     private boolean[] usedLocals;
@@ -93,12 +94,12 @@ public class MethodDifferentiator {
 
     /** Build a differentiator for a method.
      * @param mathClasses math implementation classes
-     * @param name name of the derived class
+     * @param derivedName name of the derived class
      */
-    public MethodDifferentiator(final Set<String> mathClasses, final String name) {
+    public MethodDifferentiator(final Set<String> mathClasses, final String derivedName)
{
         this.usedLocals   = null;
         this.mathClasses  = mathClasses;
-        this.name         = name;
+        this.derivedName  = derivedName;
         this.converted    = new HashSet<TrackingValue>();
         this.frames       = new IdentityHashMap<AbstractInsnNode, Frame<TrackingValue>>();
         this.successors   = new IdentityHashMap<AbstractInsnNode, Set<AbstractInsnNode>>();
@@ -490,7 +491,7 @@ public class MethodDifferentiator {
 
         // get the field as an object
         list.add(new LdcInsnNode(fieldInsn.name));
-        list.add(new MethodInsnNode(Opcodes.INVOKESPECIAL, name, "getPrimitiveField",
+        list.add(new MethodInsnNode(Opcodes.INVOKESPECIAL, derivedName, "getPrimitiveField",
                                     Type.getMethodDescriptor(Type.getType(Object.class),
                                                              Type.getType(String.class))));
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/TrackingValue.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/TrackingValue.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/TrackingValue.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/TrackingValue.java
Mon Oct  1 19:29:02 2012
@@ -24,6 +24,7 @@ import org.objectweb.asm.tree.AbstractIn
 import org.objectweb.asm.tree.analysis.Value;
 
 /** A value that keep track of both instructions producing and consuming it.
+ * @version $Id$
  */
 public class TrackingValue implements Value {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DADD instructions.
+ * @version $Id$
  */
 public class DAddTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DDIV instructions.
+ * @version $Id$
  */
 public class DDivTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DMUL instructions.
+ * @version $Id$
  */
 public class DMulTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DNEG instructions.
+ * @version $Id$
  */
 public class DNegTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer.java
Mon Oct  1 19:29:02 2012
@@ -28,6 +28,7 @@ import org.objectweb.asm.tree.MethodInsn
 import org.objectweb.asm.tree.VarInsnNode;
 
 /** Differentiation transformer for DREM instructions.
+ * @version $Id$
  */
 public class DRemTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DSUB instructions.
+ * @version $Id$
  */
 public class DSubTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.VarInsnNod
  * is replaced by one DLOAD instruction for {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * variable <i>k</i>.
+ * @version $Id$
  */
 public class DLoadTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.InsnNode;
  * as a reference to a {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * instance uses only one stack slot instead of two.</p>
+ * @version $Id$
  */
 public class DReturnTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.VarInsnNod
  * is replaced by one DSTORE instruction for {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * variable <i>k</i>.
+ * @version $Id$
  */
 public class DStoreTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer.java
Mon Oct  1 19:29:02 2012
@@ -27,6 +27,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for DCMPx instructions.
+ * @version $Id$
  */
 public class DcmpTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.InsnNode;
  * as a reference to a {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * instance uses only one stack slot instead of two.</p>
+ * @version $Id$
  */
 public class Dup2Transformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.InsnNode;
  * as a reference to a {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * instance uses only one stack slot instead of two.</p>
+ * @version $Id$
  */
 public class Dup2X1Transformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer.java
Mon Oct  1 19:29:02 2012
@@ -25,6 +25,7 @@ import org.objectweb.asm.tree.InsnList;
 import org.objectweb.asm.tree.InsnNode;
 
 /** Differentiation transformer for DUP2_X2 instructions.
+ * @version $Id$
  */
 public class Dup2X2Transformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/InvokeStaticTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/InvokeStaticTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/InvokeStaticTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/InvokeStaticTransformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.InsnNode;
 import org.objectweb.asm.tree.MethodInsnNode;
 
 /** Differentiation transformer for INVOKESTATIC instructions.
+ * @version $Id$
  */
 public class InvokeStaticTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
Mon Oct  1 19:29:02 2012
@@ -28,6 +28,7 @@ import org.objectweb.asm.tree.MethodInsn
 
 /** Differentiation transformer for narrowing a derivative structure on the stack
  * to a double.
+ * @version $Id$
  */
 public class NarrowingTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Pop2Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Pop2Transformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Pop2Transformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Pop2Transformer.java
Mon Oct  1 19:29:02 2012
@@ -29,6 +29,7 @@ import org.objectweb.asm.tree.InsnNode;
  * as a reference to a {@link
  * org.apache.commons.math3.analysis.differentiation.DerivativeStructure}
  * instance uses only one stack slot instead of two.</p>
+ * @version $Id$
  */
 public class Pop2Transformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
Mon Oct  1 19:29:02 2012
@@ -32,6 +32,7 @@ import org.objectweb.asm.tree.VarInsnNod
 
 /** Differentiation transformer for promoting a double on the stack
  * to a derivative structure.
+ * @version $Id$
  */
 public class WideningTransformer implements InstructionsTransformer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/BytecodeTrimmer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/BytecodeTrimmer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/BytecodeTrimmer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/BytecodeTrimmer.java
Mon Oct  1 19:29:02 2012
@@ -20,6 +20,7 @@ import org.objectweb.asm.tree.AbstractIn
 import org.objectweb.asm.tree.InsnList;
 
 /** Base class for code trimmers.
+ * @version $Id$
  */
 public abstract class BytecodeTrimmer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/DLoadPop2Trimmer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/DLoadPop2Trimmer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/DLoadPop2Trimmer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/DLoadPop2Trimmer.java
Mon Oct  1 19:29:02 2012
@@ -21,6 +21,7 @@ import org.objectweb.asm.tree.AbstractIn
 import org.objectweb.asm.tree.InsnList;
 
 /** Trimmer removing (DLOAD i, POP2).
+ * @version $Id$
  */
 public class DLoadPop2Trimmer extends BytecodeTrimmer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDloadTrimmer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDloadTrimmer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDloadTrimmer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDloadTrimmer.java
Mon Oct  1 19:29:02 2012
@@ -22,6 +22,7 @@ import org.objectweb.asm.tree.InsnList;
 import org.objectweb.asm.tree.VarInsnNode;
 
 /** Trimmer replacing (DLOAD i, DLOAD j, DUP2_X2, POP2) with (DLOAD j, DLOAD i).
+ * @version $Id$
  */
 public class SwappedDloadTrimmer extends BytecodeTrimmer {
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDstoreTrimmer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDstoreTrimmer.java?rev=1392538&r1=1392537&r2=1392538&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDstoreTrimmer.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/trimming/SwappedDstoreTrimmer.java
Mon Oct  1 19:29:02 2012
@@ -22,6 +22,7 @@ import org.objectweb.asm.tree.InsnList;
 import org.objectweb.asm.tree.VarInsnNode;
 
 /** Trimmer replacing (DUP2_X2, POP2, DSTORE i, DSTORE j) with (DSTORE j, DSTORE i).
+ * @version $Id$
  */
 public class SwappedDstoreTrimmer extends BytecodeTrimmer {
 



Mime
View raw message