Class ConstructorDeclaration
java.lang.Object
de.fraunhofer.aisec.cpg.graph.Node
de.fraunhofer.aisec.cpg.graph.declarations.Declaration
de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
de.fraunhofer.aisec.cpg.graph.declarations.FunctionDeclaration
de.fraunhofer.aisec.cpg.graph.declarations.MethodDeclaration
de.fraunhofer.aisec.cpg.graph.declarations.ConstructorDeclaration
- All Implemented Interfaces:
DeclarationHolder,HasType,Persistable,IVisitable<de.fraunhofer.aisec.cpg.graph.Node>
public class ConstructorDeclaration extends MethodDeclaration
The declaration of a constructor within a
RecordDeclaration. Is it essentially a special
case of a MethodDeclaration.-
Nested Class Summary
Nested classes/interfaces inherited from class de.fraunhofer.aisec.cpg.graph.Node
de.fraunhofer.aisec.cpg.graph.Node.CompanionNested classes/interfaces inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
HasType.SecondaryTypeEdge, HasType.TypeListener -
Field Summary
Fields inherited from class de.fraunhofer.aisec.cpg.graph.declarations.FunctionDeclaration
body, parameters, records, throwsTypesFields inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
possibleSubTypes, typeFields inherited from class de.fraunhofer.aisec.cpg.graph.Node
Companion, EMPTY_NAME, TO_STRING_STYLE -
Constructor Summary
Constructors Constructor Description ConstructorDeclaration() -
Method Summary
Modifier and Type Method Description voidsetRecordDeclaration(@Nullable RecordDeclaration recordDeclaration)Methods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.MethodDeclaration
getReceiver, getRecordDeclaration, isStatic, setReceiver, setStaticMethods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.FunctionDeclaration
addDeclaration, addOverriddenBy, addOverriddenBy, addOverrides, addParameter, addThrowTypes, addThrowTypes, equals, getBody, getBodyStatementAs, getDeclarations, getDefaultParameters, getDefaultParameterSignature, getDefinition, getOverriddenBy, getOverriddenByPropertyEdge, getOverrides, getOverridesPropertyEdge, getParameters, getParametersPropertyEdge, getRecords, getRecordsPropertyEdge, getSignature, getSignatureTypes, getThrowsTypes, getThrowsTypesPropertyEdge, getVariableDeclarationByName, hasBody, hashCode, hasSameSignature, hasSignature, isDefinition, isOverrideCandidate, removeParameter, setBody, setDefinition, setIsDefinition, setParameters, setRecords, setThrowsTypes, toStringMethods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
getPossibleSubTypes, getPropagationType, getType, getTypeListeners, refreshType, registerTypeListener, resetTypes, setPossibleSubTypes, setType, unregisterTypeListener, updatePossibleSubtypes, updateTypeMethods inherited from class de.fraunhofer.aisec.cpg.graph.Node
addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, getAnnotations, getArgumentIndex, getAstChildren, 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.graph.DeclarationHolder
addIfNotContains, addIfNotContains, addIfNotContainsMethods inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
setPossibleSubTypes, setTypeMethods inherited from interface de.fraunhofer.aisec.cpg.processing.IVisitable
accept
-
Constructor Details
-
ConstructorDeclaration
public ConstructorDeclaration()
-
-
Method Details
-
setRecordDeclaration
- Overrides:
setRecordDeclarationin classMethodDeclaration
-