Package de.fraunhofer.aisec.cpg.graph
Interface HasType.SecondaryTypeEdge
- All Known Implementing Classes:
CallExpression,ExplicitConstructorInvocation,MemberCallExpression,ObjectType,StaticCallExpression,TypeParamDeclaration
- Enclosing interface:
- HasType
public static interface HasType.SecondaryTypeEdge
The Typeresolver needs to be aware of all outgoing edges to types in order to merge equal types
to the same node. For the primary type edge, this is achieved through the hasType interface. If
a node has additional type edges (e.g. default type in
TypeParamDeclaration) the node must implement the
updateType method, so that the current type is always replaced with the merged one-
Method Summary
Modifier and Type Method Description voidupdateType(java.util.Collection<Type> typeState)
-
Method Details
-
updateType
-