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<Node>
public class ConstructorDeclaration extends MethodDeclaration
The declaration of a constructor within aRecordDeclaration. Is it essentially a special case of aMethodDeclaration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
HasType.TypeListener
-
-
Field Summary
-
Fields inherited from class de.fraunhofer.aisec.cpg.graph.declarations.FunctionDeclaration
body, parameters, records, throwsTypes
-
Fields inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
possibleSubTypes, type
-
-
Constructor Summary
Constructors Constructor Description ConstructorDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetRecordDeclaration(@Nullable RecordDeclaration recordDeclaration)-
Methods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.MethodDeclaration
getReceiver, getRecordDeclaration, isStatic, setReceiver, setStatic
-
Methods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.FunctionDeclaration
addDeclaration, addOverriddenBy, addOverriddenBy, addOverrides, addParameter, addThrowTypes, addThrowTypes, equals, getBody, getBodyStatementAs, getDefinition, getOverriddenBy, getOverriddenByPropertyEdge, getOverrides, getOverridesPropertyEdge, getParameters, getParametersPropertyEdge, getRecords, getRecordsPropertyEdge, getSignature, getSignatureTypes, getThrowsTypes, getThrowsTypesPropertyEdge, getVariableDeclarationByName, hasBody, hashCode, hasSignature, isDefinition, isOverrideCandidate, removeParameter, setBody, setDefinition, setIsDefinition, setParameters, setRecords, setThrowsTypes, toString
-
Methods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
getPossibleSubTypes, getPropagationType, getType, getTypeListeners, refreshType, registerTypeListener, resetTypes, setPossibleSubTypes, setType, unregisterTypeListener, updatePossibleSubtypes, updateType
-
Methods inherited from class de.fraunhofer.aisec.cpg.graph.Node
addAnnotations, addNextCFG, addNextCFG, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, getAnnotations, getArgumentIndex, getCode, getFile, getId, getLocation, getName, getNextCFG, getNextDFG, getNextEOG, getNextEOGProperties, getNextEOGPropertyEdge, getPrevDFG, getPrevEOG, getPrevEOGProperties, getTypedefs, 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.graph.DeclarationHolder
addIfNotContains, addIfNotContains, addIfNotContains
-
Methods inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
setPossibleSubTypes, setType
-
Methods inherited from interface de.fraunhofer.aisec.cpg.processing.IVisitable
accept
-
-
-
-
Method Detail
-
setRecordDeclaration
public void setRecordDeclaration(@Nullable RecordDeclaration recordDeclaration)
- Overrides:
setRecordDeclarationin classMethodDeclaration
-
-