Package org.jboss.classfilewriter.util
Class SignatureBuilder
- java.lang.Object
-
- org.jboss.classfilewriter.util.SignatureBuilder
-
public class SignatureBuilder extends java.lang.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 java.lang.String
fieldAttribute(java.lang.reflect.Type type)
Generates the field signiture for a field of the given typestatic void
parametizedType(java.lang.reflect.ParameterizedType type, java.lang.StringBuilder builder)
-
-
-
Method Detail
-
fieldAttribute
public static java.lang.String fieldAttribute(java.lang.reflect.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(java.lang.reflect.ParameterizedType type, java.lang.StringBuilder builder)
-
-