|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.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.lang.annotation.Annotation[] annotations)
Gets a string representation from an array of annotations |
static java.lang.String |
annotationsToString(java.lang.Iterable<java.lang.annotation.Annotation> annotations)
|
static int |
count(java.lang.Iterable<?> iterable)
Counts item in an iteratble |
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 |
toString(java.lang.Class<?> rawType,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.lang.reflect.Type[] actualTypeArguments)
|
static java.lang.String |
typesToString(java.util.Set<? extends java.lang.reflect.Type> types)
|
static java.lang.String |
version(java.lang.Package pkg)
|
static java.lang.String |
version(java.lang.String version)
|
| 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 java.lang.String toString(java.lang.Class<?> rawType,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.lang.reflect.Type[] actualTypeArguments)
public static int count(java.lang.Iterable<?> iterable)
iterable - The iteraboe
public static java.lang.String typesToString(java.util.Set<? extends java.lang.reflect.Type> types)
public static java.lang.String annotationsToString(java.lang.Iterable<java.lang.annotation.Annotation> annotations)
public static java.lang.String annotationsToString(java.lang.annotation.Annotation[] annotations)
annotations - The annotations
public static java.lang.String version(java.lang.Package pkg)
public static java.lang.String version(java.lang.String version)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||