Takhion / kotlin-metadata

MIT License
116 stars 14 forks source link

Fix JVM method signatures containing inner class param types. #13

Open danysantiago opened 5 years ago

danysantiago commented 5 years ago

jvms-4.3.4 specifies that a ClassSignature can contain zero or more ClassTypeSignatureSuffix that are useful for uniquely identify inner classes. For example, the ClassSignature of java.util.Map.Entry<K,V> is Ljava.util.Map$Entry;

Note that even though local and anonymous classes do have signatures, this change doesn't consider them because they can't be part of an annotation processor discoverable method.

Also added compile-testing and small testing classes that help run a dummy annotation processor to obtain a ProcessingEnvironment to exercise library code.

This should help with issue #7.