org.grinvin.invariants

Class InvariantTypes


public final class InvariantTypes
extends java.lang.Object

Helper class which handles invariant types.

Method Summary

static Class
extends InvariantValue> classForType(String type)
Return the class for the given type.

Method Details

extends InvariantValue> classForType

public static Class classForType(String type)
            throws UnknownInvariantTypeException
Return the class for the given type.
Throws:
UnknownInvariantTypeException - when the type string could not be converted to a class for some reason.