Patent ID: 7526752

Claim:
A computer implemented method for generating information about generic types, the method comprising: in response to an invocation of a first programmatic method of a reflective proxy that corresponds to a program element, generating a first string representation of the program element; wherein the first string representation contains information that is based on one or more formal type parameters that are associated with a declaration of a generic type that is associated with the program element due to the program element being associated with a generic type; storing the first string representation within a memory of a computer; and wherein generating the first string representation comprises: determining whether the program element is associated with a generic type; if the program element is associated with a generic type, then generating a string representation that indicates one or more formal type parameters that are associated with a generic type that is associated with the program element; and if the program element is not associated with a generic type, then generating a string representation that indicates the absence of a formal type parameter of a generic type.