Package de.fraunhofer.aisec.cpg.graph
Class RecordDeclaration
- java.lang.Object
-
- de.fraunhofer.aisec.cpg.graph.Node
-
- de.fraunhofer.aisec.cpg.graph.Declaration
-
- de.fraunhofer.aisec.cpg.graph.RecordDeclaration
-
public class RecordDeclaration extends Declaration
Represents a C++ union/struct/class or Java class
-
-
Constructor Summary
Constructors Constructor Description RecordDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<ConstructorDeclaration>getConstructors()java.util.List<FieldDeclaration>getFields()java.util.Set<Declaration>getImports()java.util.List<java.lang.String>getImportStatements()java.lang.StringgetKind()java.util.List<MethodDeclaration>getMethods()java.util.List<RecordDeclaration>getRecords()java.util.Set<ValueDeclaration>getStaticImports()java.util.List<java.lang.String>getStaticImportStatements()java.util.Set<RecordDeclaration>getSuperTypeDeclarations()java.util.List<Type>getSuperTypes()FieldDeclarationgetThis()inthashCode()voidsetConstructors(java.util.List<ConstructorDeclaration> constructors)voidsetFields(java.util.List<FieldDeclaration> fields)voidsetImports(java.util.Set<Declaration> imports)voidsetImportStatements(java.util.List<java.lang.String> importStatements)voidsetKind(java.lang.String kind)voidsetMethods(java.util.List<MethodDeclaration> methods)voidsetRecords(java.util.List<RecordDeclaration> records)voidsetStaticImports(java.util.Set<ValueDeclaration> staticImports)voidsetStaticImportStatements(java.util.List<java.lang.String> staticImportStatements)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
addNextDFG, addPrevDFG, disconnectFromGraph, getArgumentIndex, getCode, getFile, getId, getName, getNextCFG, getNextDFG, getNextEOG, getPrevDFG, getPrevEOG, getRegion, isDummy, isImplicit, removeNextDFG, removePrevDFG, setArgumentIndex, setCode, setComment, setDummy, setFile, setImplicit, setName, setNextDFG, setNextEOG, setPrevDFG, setPrevEOG, setRegion
-
-
-
-
Method Detail
-
getKind
public java.lang.String getKind()
-
setKind
public void setKind(java.lang.String kind)
-
getFields
public java.util.List<FieldDeclaration> getFields()
-
setFields
public void setFields(java.util.List<FieldDeclaration> fields)
-
getThis
public FieldDeclaration getThis()
-
getMethods
public java.util.List<MethodDeclaration> getMethods()
-
setMethods
public void setMethods(java.util.List<MethodDeclaration> methods)
-
getConstructors
public java.util.List<ConstructorDeclaration> getConstructors()
-
setConstructors
public void setConstructors(java.util.List<ConstructorDeclaration> constructors)
-
getRecords
public java.util.List<RecordDeclaration> getRecords()
-
setRecords
public void setRecords(java.util.List<RecordDeclaration> records)
-
getSuperTypes
public java.util.List<Type> getSuperTypes()
-
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)
-
getImports
public java.util.Set<Declaration> getImports()
-
setImports
public void setImports(java.util.Set<Declaration> imports)
-
getStaticImports
public java.util.Set<ValueDeclaration> getStaticImports()
-
setStaticImports
public void setStaticImports(java.util.Set<ValueDeclaration> staticImports)
-
getImportStatements
public java.util.List<java.lang.String> getImportStatements()
-
setImportStatements
public void setImportStatements(java.util.List<java.lang.String> importStatements)
-
getStaticImportStatements
public java.util.List<java.lang.String> getStaticImportStatements()
-
setStaticImportStatements
public void setStaticImportStatements(java.util.List<java.lang.String> staticImportStatements)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDeclaration
-
-