|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.util.Names
public class Names
Utility class to produce friendly names e.g. for debugging
Constructor Summary | |
---|---|
Names()
|
Method Summary | |
---|---|
static java.lang.String |
annotationsToString(java.util.Set<java.lang.annotation.Annotation> annotations)
|
static java.lang.String |
annotationToString(java.lang.annotation.Annotation annotation)
Gets a string representation from an annotation |
static java.lang.String |
classToString(java.lang.Class<?> clazz)
Gets a string representation from a class |
static java.lang.String |
constructorToString(java.lang.reflect.Constructor<?> constructor)
Gets a string representation from a method |
static int |
count(java.lang.Iterable<?> iterable)
Counts item in an iteratble |
static java.lang.String |
fieldToString(java.lang.reflect.Field field)
Gets a string representation from a field |
static java.lang.String |
methodToString(java.lang.reflect.Method method)
Gets the string representation from a method |
static java.lang.String |
scopeTypeToString(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Gets a string representation of the scope type annotation |
static java.lang.String |
typesToString(java.util.Set<? extends java.lang.reflect.Type> types)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Names()
Method Detail |
---|
public static java.lang.String scopeTypeToString(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
scopeType
- The scope type
public static int count(java.lang.Iterable<?> iterable)
iterable
- The iteraboe
public static java.lang.String fieldToString(java.lang.reflect.Field field)
field
- The field
public static java.lang.String methodToString(java.lang.reflect.Method method)
method
- The method
public static java.lang.String annotationToString(java.lang.annotation.Annotation annotation)
annotation
- The annotation
public static java.lang.String constructorToString(java.lang.reflect.Constructor<?> constructor)
constructor
- The method
public static java.lang.String classToString(java.lang.Class<?> clazz)
clazz
- The class
public static java.lang.String typesToString(java.util.Set<? extends java.lang.reflect.Type> types)
public static java.lang.String annotationsToString(java.util.Set<java.lang.annotation.Annotation> annotations)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |