Class IncludeDeclaration

java.lang.Object
de.fraunhofer.aisec.cpg.graph.Node
de.fraunhofer.aisec.cpg.graph.declarations.Declaration
de.fraunhofer.aisec.cpg.graph.declarations.IncludeDeclaration
All Implemented Interfaces:
Persistable, IVisitable<de.fraunhofer.aisec.cpg.graph.Node>

public class IncludeDeclaration
extends Declaration
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.fraunhofer.aisec.cpg.graph.Node

    de.fraunhofer.aisec.cpg.graph.Node.Companion
  • Field Summary

    Fields inherited from class de.fraunhofer.aisec.cpg.graph.Node

    Companion, EMPTY_NAME, TO_STRING_STYLE
  • Constructor Summary

    Constructors
    Constructor Description
    IncludeDeclaration()  
  • Method Summary

    Modifier and Type Method Description
    void addInclude​(IncludeDeclaration includeDeclaration)  
    void addProblem​(de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration problemDeclaration)  
    void addProblems​(java.util.Collection<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration> c)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getFilename()  
    java.util.List<IncludeDeclaration> getIncludes()  
    java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<IncludeDeclaration>> getIncludesPropertyEdge()  
    java.util.List<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration> getProblems()  
    java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration>> getProblemsPropertyEdge()  
    int hashCode()  
    void setFilename​(java.lang.String filename)  
    java.lang.String toString()  

    Methods inherited from class de.fraunhofer.aisec.cpg.graph.Node

    addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, getAnnotations, getArgumentIndex, getAstChildren, getCode, getComment, getFile, getId, getLocation, getName, getNextDFG, getNextEOG, getNextEOGEdges, getPrevDFG, getPrevEOG, getPrevEOGEdges, getTypedefs, isImplicit, isInferred, removeNextDFG, removePrevDFG, removePrevEOGEntry, setAnnotations, setArgumentIndex, setCode, setComment, setFile, setId, setImplicit, setInferred, setLocation, setName, setNextDFG, setNextEOG, setNextEOGEdges, setPrevDFG, setPrevEOG, setPrevEOGEdges, setTypedefs

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface de.fraunhofer.aisec.cpg.processing.IVisitable

    accept
  • Constructor Details

    • IncludeDeclaration

      public IncludeDeclaration()
  • Method Details

    • getIncludes

      public java.util.List<IncludeDeclaration> getIncludes()
    • getIncludesPropertyEdge

      public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<IncludeDeclaration>> getIncludesPropertyEdge()
    • addInclude

      public void addInclude​(IncludeDeclaration includeDeclaration)
    • getProblems

      public java.util.List<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration> getProblems()
    • getProblemsPropertyEdge

      public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration>> getProblemsPropertyEdge()
    • addProblems

      public void addProblems​(java.util.Collection<de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration> c)
    • addProblem

      public void addProblem​(de.fraunhofer.aisec.cpg.graph.declarations.ProblemDeclaration problemDeclaration)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class de.fraunhofer.aisec.cpg.graph.Node
    • getFilename

      public java.lang.String getFilename()
    • setFilename

      public void setFilename​(java.lang.String filename)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class de.fraunhofer.aisec.cpg.graph.Node
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class de.fraunhofer.aisec.cpg.graph.Node