|
||||||||||
| 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 |
annotation2String(java.lang.annotation.Annotation annotation)
Gets a string representation from an annotation |
static java.lang.String |
annotations2String(java.lang.annotation.Annotation[] annotations)
Gets a string representation from an array of annotations |
static java.lang.String |
class2String(java.lang.Class<?> clazz)
Gets a string representation from a class |
static java.lang.String |
constructor2String(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 |
field2String(java.lang.reflect.Field field)
Gets a string representation from a field |
static java.lang.String |
method2String(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 |
type2String(java.lang.Class<?> clazz)
Gets a string representation from a type |
| 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 annotations2String(java.lang.annotation.Annotation[] annotations)
annotations - The annotations
public static java.lang.String field2String(java.lang.reflect.Field field)
field - The field
public static java.lang.String method2String(java.lang.reflect.Method method)
method - The method
public static java.lang.String annotation2String(java.lang.annotation.Annotation annotation)
annotation - The annotation
public static java.lang.String constructor2String(java.lang.reflect.Constructor<?> constructor)
constructor - The method
public static java.lang.String type2String(java.lang.Class<?> clazz)
clazz - The type
public static java.lang.String class2String(java.lang.Class<?> clazz)
clazz - The class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||