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()voidsetEntries(java.util.List<EnumConstantDeclaration> entries)voidsetSuperTypeDeclarations(java.util.Set<RecordDeclaration> superTypeDeclarations)voidsetSuperTypes(java.util.List<Type> superTypes)java.lang.StringtoString()Methods inherited from class de.fraunhofer.aisec.cpg.graph.Node
addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, equals, getAnnotations, getArgumentIndex, getAstChildren, 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, 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
-
EnumDeclaration
public EnumDeclaration()
-
-
Method Details
-
getEntriesPropertyEdge
public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<EnumConstantDeclaration>> getEntriesPropertyEdge() -
getEntries
-
setEntries
-
getSuperTypes
-
getSuperTypesPropertyEdge
public java.util.List<de.fraunhofer.aisec.cpg.graph.edge.PropertyEdge<Type>> getSuperTypesPropertyEdge() -
setSuperTypes
-
getSuperTypeDeclarations
-
setSuperTypeDeclarations
-
toString
public java.lang.String toString()- Overrides:
toStringin classde.fraunhofer.aisec.cpg.graph.Node
-