Package org.jboss.classfilewriter.util
Class SignatureBuilder
- java.lang.Object
-
- org.jboss.classfilewriter.util.SignatureBuilder
-
public class SignatureBuilder extends Object
Generates the contents of a Signature attribute from a java type.TODO: this is all wrong, I'm to tired to read the pathetic excuse for a spec properly
- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringfieldAttribute(Type type)Generates the field signiture for a field of the given typestatic voidparametizedType(ParameterizedType type, StringBuilder builder)
-
-
-
Method Detail
-
fieldAttribute
public static String fieldAttribute(Type type)
Generates the field signiture for a field of the given type- Parameters:
type-- Returns:
- the signiture, or null if no signure is required (e.g. for Class types)
-
parametizedType
public static void parametizedType(ParameterizedType type, StringBuilder builder)
-
-