Class FuncVertex

  • All Implemented Interfaces:
    ObjectVertex, com.ibm.wala.ipa.callgraph.ContextItem, com.ibm.wala.ipa.callgraph.propagation.InstanceKey

    public class FuncVertex
    extends Vertex
    implements ObjectVertex
    A function vertex represents a function object (or, more precisely, all function objects arising from a single function expression or declaration).
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem

        com.ibm.wala.ipa.callgraph.ContextItem.Value<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.ibm.wala.classLoader.IClass klass  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T accept​(VertexVisitor<T> visitor)  
      com.ibm.wala.classLoader.IClass getConcreteType()  
      java.util.Iterator<com.ibm.wala.util.collections.Pair<com.ibm.wala.ipa.callgraph.CGNode,​com.ibm.wala.classLoader.NewSiteReference>> getCreationSites​(com.ibm.wala.ipa.callgraph.CallGraph CG)  
      java.lang.String getFullName()  
      java.lang.String toSourceLevelString​(com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)
      If possible, returns a String representation of this that refers to source-level entities rather thatn WALA-internal ones (e.g., source-level variable names rather than SSA value numbers).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • klass

        protected final com.ibm.wala.classLoader.IClass klass
    • Method Detail

      • getFullName

        public java.lang.String getFullName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCreationSites

        public java.util.Iterator<com.ibm.wala.util.collections.Pair<com.ibm.wala.ipa.callgraph.CGNode,​com.ibm.wala.classLoader.NewSiteReference>> getCreationSites​(com.ibm.wala.ipa.callgraph.CallGraph CG)
        Specified by:
        getCreationSites in interface com.ibm.wala.ipa.callgraph.propagation.InstanceKey
      • getConcreteType

        public com.ibm.wala.classLoader.IClass getConcreteType()
        Specified by:
        getConcreteType in interface com.ibm.wala.ipa.callgraph.propagation.InstanceKey
      • toSourceLevelString

        public java.lang.String toSourceLevelString​(com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)
        Description copied from class: Vertex
        If possible, returns a String representation of this that refers to source-level entities rather thatn WALA-internal ones (e.g., source-level variable names rather than SSA value numbers). By default, just returns the results of Object.toString()
        Overrides:
        toSourceLevelString in class Vertex