org.jboss.metadata.annotation.creator
Class ProcessorUtils

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.ProcessorUtils

public class ProcessorUtils
extends Object

Version:
$Revision: 80110 $
Author:
Scott.Stark@jboss.org

Constructor Summary
ProcessorUtils()
           
 
Method Summary
static Collection<Class<? extends Annotation>> createAnnotationSet(Class<? extends Annotation>... annotations)
           
static Collection<Class<? extends Annotation>> createAnnotationSet(Class<? extends Annotation> annotation)
           
static MethodMetaData createMethod(String ejbName, Method method)
           
static
<E extends AnnotatedElement>
String
getDeclaringClass(E element)
           
static Descriptions getDescription(String description)
           
static DescriptionGroupMetaData getDescriptionGroup(String description)
           
static
<E extends AnnotatedElement>
Set<ResourceInjectionTargetMetaData>
getInjectionTargets(String name, E element)
           
static MethodParametersMetaData getMethodParameters(Method method)
           
static
<E extends AnnotatedElement>
String
getName(E element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorUtils

public ProcessorUtils()
Method Detail

getInjectionTargets

public static <E extends AnnotatedElement> Set<ResourceInjectionTargetMetaData> getInjectionTargets(String name,
                                                                                                    E element)

getName

public static <E extends AnnotatedElement> String getName(E element)

getDeclaringClass

public static <E extends AnnotatedElement> String getDeclaringClass(E element)

createMethod

public static MethodMetaData createMethod(String ejbName,
                                          Method method)

getMethodParameters

public static MethodParametersMetaData getMethodParameters(Method method)

getDescription

public static Descriptions getDescription(String description)

getDescriptionGroup

public static DescriptionGroupMetaData getDescriptionGroup(String description)

createAnnotationSet

public static Collection<Class<? extends Annotation>> createAnnotationSet(Class<? extends Annotation> annotation)

createAnnotationSet

public static Collection<Class<? extends Annotation>> createAnnotationSet(Class<? extends Annotation>... annotations)


Copyright © 2009 JBoss Inc.. All Rights Reserved.