Package jodd.proxetta

Class GenericsReader


  • public class GenericsReader
    extends java.lang.Object
    Collector of generics information from the signature.
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericsReader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> parseSignatureForGenerics​(java.lang.String signature, boolean isInterface)
      Parses signature for generic information and returns a map where key is generic name and value is raw type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericsReader

        public GenericsReader()
    • Method Detail

      • parseSignatureForGenerics

        public java.util.Map<java.lang.String,​java.lang.String> parseSignatureForGenerics​(java.lang.String signature,
                                                                                                boolean isInterface)
        Parses signature for generic information and returns a map where key is generic name and value is raw type. Returns an empty map if signature does not define any generics.