public class MockHelper
extends java.lang.Object
Constructor and Description |
---|
MockHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addToCollectionIfNotNull(java.util.Collection collection,
java.lang.Object value) |
static boolean |
isNotEmpty(java.util.Collection collection) |
static boolean |
targetEquals(org.jboss.jandex.AnnotationTarget t1,
org.jboss.jandex.AnnotationTarget t2) |
static org.jboss.jandex.AnnotationValue[] |
toArray(java.util.List<org.jboss.jandex.AnnotationValue> list) |
public static org.jboss.jandex.AnnotationValue[] toArray(java.util.List<org.jboss.jandex.AnnotationValue> list)
public static void addToCollectionIfNotNull(java.util.Collection collection, java.lang.Object value)
public static boolean targetEquals(org.jboss.jandex.AnnotationTarget t1, org.jboss.jandex.AnnotationTarget t2)
t1
- can't be nullt2
- can't be nullpublic static boolean isNotEmpty(java.util.Collection collection)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.