public class Formats extends Object
Constructor and Description |
---|
Formats() |
Modifier and Type | Method and Description |
---|---|
static String |
addSpaceIfNeeded(String string) |
static String |
formatActualTypeArguments(Type[] actualTypeArguments) |
static String |
formatAnnotations(Annotation[] annotations)
Gets a string representation from an array of annotations
|
static String |
formatAnnotations(Iterable<Annotation> annotations) |
static String |
formatAsFormalParameterList(Iterable<? extends WeldParameter<?,?>> parameters) |
static String |
formatBusinessInterfaceDescriptors(Iterable<? extends org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> businessInterfaceDescriptors) |
static String |
formatModifiers(int modifiers) |
static String |
formatType(Type baseType) |
static String |
formatTypes(Iterable<? extends Type> baseTypes) |
static String |
version(Package pkg) |
static String |
version(String version,
String timestamp) |
static String |
wrapIfNeccessary(String string,
String prepend,
String append) |
public static String formatBusinessInterfaceDescriptors(Iterable<? extends org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> businessInterfaceDescriptors)
public static String formatAsFormalParameterList(Iterable<? extends WeldParameter<?,?>> parameters)
public static String formatModifiers(int modifiers)
public static String formatActualTypeArguments(Type[] actualTypeArguments)
public static String wrapIfNeccessary(String string, String prepend, String append)
public static String formatAnnotations(Iterable<Annotation> annotations)
public static String formatAnnotations(Annotation[] annotations)
annotations
- The annotationsCopyright © 2013 Seam Framework. All rights reserved.