Top Description Constructors Methods
org.jboss.classfilewriter.util

public Class SignatureBuilder

extends Object
Class Inheritance
Imports
java.lang.reflect.ParameterizedType, .Type, .WildcardType

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
classType(Class<?> clazz, StringBuilder builder)

public static String

Returns:

the signiture, or null if no signure is required (e.g. for Class types)
fieldAttribute
(Type type)

Generates the field signiture for a field of the given type

private static void
public static void
private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SignatureBuilderback to summary
private SignatureBuilder()

Method Detail

classTypeback to summary
private static void classType(Class<?> clazz, StringBuilder builder)
fieldAttributeback to summary
public static String fieldAttribute(Type type)

Generates the field signiture for a field of the given type

Returns:String

the signiture, or null if no signure is required (e.g. for Class types)

fieldAttributeback to summary
private static void fieldAttribute(Type type, StringBuilder builder)
parametizedTypeback to summary
public static void parametizedType(ParameterizedType type, StringBuilder builder)
wildcardTypeback to summary
private static void wildcardType(WildcardType type, StringBuilder builder)