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<Node>
public class EnumDeclaration extends Declaration
-
-
Constructor Summary
Constructors Constructor Description EnumDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<EnumConstantDeclaration>getEntries()java.util.List<PropertyEdge<EnumConstantDeclaration>>getEntriesPropertyEdge()java.util.Set<RecordDeclaration>getSuperTypeDeclarations()java.util.List<Type>getSuperTypes()java.util.List<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, addNextCFG, addNextCFG, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, equals, getAnnotations, getArgumentIndex, getCode, getFile, getId, getLocation, getName, getNextCFG, getNextDFG, getNextEOG, getNextEOGProperties, getNextEOGPropertyEdge, getPrevDFG, getPrevEOG, getPrevEOGProperties, getTypedefs, hashCode, isDummy, isImplicit, removeNextDFG, removePrevDFG, removePrevEOGEntries, removePrevEOGEntry, setArgumentIndex, setCode, setComment, setDummy, setFile, setImplicit, setLocation, setName, setNextDFG, setNextEOG, setPrevDFG, setPrevEOG, setPrevEOGProperties, 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
-
-
-
-
Method Detail
-
getEntriesPropertyEdge
public java.util.List<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<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:
toStringin classDeclaration
-
-