org.jboss.webbeans.tck.impl.util
Class Reflections

java.lang.Object
  extended by org.jboss.webbeans.tck.impl.util.Reflections

public class Reflections
extends java.lang.Object

Utility class for static reflection-type operations

Author:
Pete Muir

Constructor Summary
Reflections()
           
 
Method Summary
static boolean annotationSetMatches(java.util.Set<java.lang.annotation.Annotation> annotations, java.lang.Class<? extends java.lang.annotation.Annotation>... annotationTypes)
          Checks if all annotations are in a given set of annotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflections

public Reflections()
Method Detail

annotationSetMatches

public static boolean annotationSetMatches(java.util.Set<java.lang.annotation.Annotation> annotations,
                                           java.lang.Class<? extends java.lang.annotation.Annotation>... annotationTypes)
Checks if all annotations are in a given set of annotations

Parameters:
annotations - The annotation set
annotationTypes - The annotations to match
Returns:
True if match, false otherwise


Copyright © 2008-2009. All Rights Reserved.