Class EnumDeclaration

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

public class EnumDeclaration
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
    EnumDeclaration()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<EnumConstantDeclaration> getEntries()  
    java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<EnumConstantDeclaration>> getEntriesPropertyEdge()  
    java.util.Set<RecordDeclaration> getSuperTypeDeclarations()  
    java.util.List<Type> getSuperTypes()  
    java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<Type>> getSuperTypesPropertyEdge()  
    void setEntries​(java.util.List<EnumConstantDeclaration> entries)  
    void setSuperTypeDeclarations​(java.util.Set<RecordDeclaration> superTypeDeclarations)  
    void setSuperTypes​(java.util.List<Type> superTypes)  
    java.lang.String toString()  

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

    addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, equals, getAnnotations, getArgumentIndex, getCode, getComment, getFile, getId, getLocation, getName, getNextDFG, getNextEOG, getNextEOGEdges, getPrevDFG, getPrevEOG, getPrevEOGEdges, getTypedefs, hashCode, 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

    • EnumDeclaration

      public EnumDeclaration()
  • Method Details

    • getEntriesPropertyEdge

      public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<EnumConstantDeclaration>> getEntriesPropertyEdge()
    • getEntries

      public java.util.List<EnumConstantDeclaration> getEntries()
    • setEntries

      public void setEntries​(java.util.List<EnumConstantDeclaration> entries)
    • getSuperTypes

      public java.util.List<Type> getSuperTypes()
    • getSuperTypesPropertyEdge

      public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<Type>> getSuperTypesPropertyEdge()
    • setSuperTypes

      public void setSuperTypes​(java.util.List<Type> superTypes)
    • getSuperTypeDeclarations

      public java.util.Set<RecordDeclaration> getSuperTypeDeclarations()
    • setSuperTypeDeclarations

      public void setSuperTypeDeclarations​(java.util.Set<RecordDeclaration> superTypeDeclarations)
    • toString

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