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
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
fieldAttribute
(Type type) Generates the field signiture for a field of the given typestatic void
parametizedType
(ParameterizedType type, StringBuilder builder)
-
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)
-
parametizedType
-