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 voidaddInclude(IncludeDeclaration includeDeclaration)voidaddProblem(ProblemDeclaration problemDeclaration)voidaddProblems(java.util.Collection<ProblemDeclaration> c)booleanequals(java.lang.Object o)java.lang.StringgetFilename()java.util.List<IncludeDeclaration>getIncludes()java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<IncludeDeclaration>>getIncludesPropertyEdge()java.util.List<ProblemDeclaration>getProblems()java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<ProblemDeclaration>>getProblemsPropertyEdge()inthashCode()voidsetFilename(java.lang.String filename)java.lang.StringtoString()Methods inherited from class de.fraunhofer.aisec.cpg.graph.Node
addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, getAnnotations, getArgumentIndex, 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, setTypedefsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.fraunhofer.aisec.cpg.processing.IVisitable
accept
-
Constructor Details
-
IncludeDeclaration
public IncludeDeclaration()
-
-
Method Details
-
getIncludes
-
getIncludesPropertyEdge
public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<IncludeDeclaration>> getIncludesPropertyEdge() -
addInclude
-
getProblems
-
getProblemsPropertyEdge
public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<ProblemDeclaration>> getProblemsPropertyEdge() -
addProblems
-
addProblem
-
toString
public java.lang.String toString()- Overrides:
toStringin classde.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:
equalsin classde.fraunhofer.aisec.cpg.graph.Node
-
hashCode
public int hashCode()- Overrides:
hashCodein classde.fraunhofer.aisec.cpg.graph.Node
-