org.hibernate.metamodel.source.annotations.xml.mocker
Class MockHelper
java.lang.Object
org.hibernate.metamodel.source.annotations.xml.mocker.MockHelper
public class MockHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHelper
public MockHelper()
toArray
public static org.jboss.jandex.AnnotationValue[] toArray(List<org.jboss.jandex.AnnotationValue> list)
addToCollectionIfNotNull
public static void addToCollectionIfNotNull(Collection collection,
Object value)
targetEquals
public static boolean targetEquals(org.jboss.jandex.AnnotationTarget t1,
org.jboss.jandex.AnnotationTarget t2)
- Parameters:
t1
- can't be nullt2
- can't be null
isNotEmpty
public static boolean isNotEmpty(Collection collection)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.