org.hansel
Class Util

java.lang.Object
  extended by org.hansel.Util

public class Util
extends java.lang.Object

Class containing utility methods.

Author:
Niklas Mehner

Constructor Summary
Util()
          This class is static and cannot be instantiated.
 
Method Summary
static java.lang.String[] concat(java.lang.String[] a, java.lang.String[] b)
           
static void dumpResult(junit.framework.TestResult result)
          Dumps the Failures and Errors contained in the result to stdio.
static int findIndex(org.objectweb.asm.tree.InsnList instructions, org.objectweb.asm.Label label)
           
static java.lang.String leftFill(int length, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
This class is static and cannot be instantiated.

Throws:
java.lang.UnsupportedOperationException - Always.
Method Detail

concat

public static java.lang.String[] concat(java.lang.String[] a,
                                        java.lang.String[] b)

leftFill

public static java.lang.String leftFill(int length,
                                        java.lang.String text)

dumpResult

public static void dumpResult(junit.framework.TestResult result)
Dumps the Failures and Errors contained in the result to stdio.

Parameters:
result - Result to dump.

findIndex

public static int findIndex(org.objectweb.asm.tree.InsnList instructions,
                            org.objectweb.asm.Label label)