public static FullTypeSignature getTypeSignature ( Class < ? > clazz , Class < ? > [ ] typeArgs ) { ClassTypeSignature rawClassTypeSignature = ( ClassTypeSignature ) javaTypeToTypeSignature . getTypeSignature ( clazz ) ; TypeArgSignature [ ] typeArgSignatures = new TypeArgSignature [ typeArgs . length ] ; for ( int i = 0 ; i < typeArgs . length ; i ++ ) { typeArgSignatures [ i ] = new TypeArgSignature ( TypeArgSignature . NO_WILDCARD , ( FieldTypeSignature ) javaTypeToTypeSignature . getTypeSignature ( typeArgs [ i ] ) ) ; } ClassTypeSignature classTypeSignature = new ClassTypeSignature ( rawClassTypeSignature . getBinaryName ( ) , typeArgSignatures , rawClassTypeSignature . getOwnerTypeSignature ( ) ) ; return classTypeSignature ; }
get the TypeSignature corresponding to given class with given type arguments