Package org.jboss.classfilewriter.util
Class SignatureBuilder
java.lang.Object
org.jboss.classfilewriter.util.SignatureBuilder
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidclassType(Class<?> clazz, StringBuilder builder) static StringfieldAttribute(Type type) Generates the field signiture for a field of the given typeprivate static voidfieldAttribute(Type type, StringBuilder builder) static voidparametizedType(ParameterizedType type, StringBuilder builder) private static voidwildcardType(WildcardType type, StringBuilder builder)
-
Constructor Details
-
SignatureBuilder
private SignatureBuilder()
-
-
Method Details
-
fieldAttribute
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)
-
fieldAttribute
-
wildcardType
-
parametizedType
-
classType
-