Class JDTTypeDictionary

  • All Implemented Interfaces:
    com.ibm.wala.cast.tree.CAstTypeDictionary, java.lang.Iterable<com.ibm.wala.cast.tree.CAstType>

    public class JDTTypeDictionary
    extends com.ibm.wala.cast.tree.impl.CAstTypeDictionaryImpl<org.eclipse.jdt.core.dom.ITypeBinding>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.jdt.core.dom.AST fAst  
      protected JDTIdentityMapper fIdentityMapper  
      • Fields inherited from class com.ibm.wala.cast.tree.impl.CAstTypeDictionaryImpl

        fMap
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ibm.wala.cast.tree.CAstType getCAstTypeFor​(java.lang.Object astType)  
      com.ibm.wala.cast.tree.CAstType getCAstTypeForUnion​(org.eclipse.jdt.core.dom.UnionType astType)  
      • Methods inherited from class com.ibm.wala.cast.tree.impl.CAstTypeDictionaryImpl

        iterator, map, resolveReference
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • fAst

        protected final org.eclipse.jdt.core.dom.AST fAst
    • Constructor Detail

      • JDTTypeDictionary

        public JDTTypeDictionary​(org.eclipse.jdt.core.dom.AST ast,
                                 JDTIdentityMapper identityMapper)
        Parameters:
        ast - Needed to get root type "java.lang.Object"
    • Method Detail

      • getCAstTypeForUnion

        public com.ibm.wala.cast.tree.CAstType getCAstTypeForUnion​(org.eclipse.jdt.core.dom.UnionType astType)
      • getCAstTypeFor

        public com.ibm.wala.cast.tree.CAstType getCAstTypeFor​(java.lang.Object astType)
        Specified by:
        getCAstTypeFor in interface com.ibm.wala.cast.tree.CAstTypeDictionary
        Overrides:
        getCAstTypeFor in class com.ibm.wala.cast.tree.impl.CAstTypeDictionaryImpl<org.eclipse.jdt.core.dom.ITypeBinding>