Package it.unive.lisa.program.cfg
Class AbstractCodeMember
- java.lang.Object
-
- it.unive.lisa.program.cfg.AbstractCodeMember
-
- All Implemented Interfaces:
CodeMember
public class AbstractCodeMember extends java.lang.Object implements CodeMember
A signature control flow graph, that has no graph implementation but just its signature.
Note that this class does not implementObject.equals(Object)norObject.hashCode()since all cfgs are unique.
-
-
Constructor Summary
Constructors Constructor Description AbstractCodeMember(CodeMemberDescriptor descriptor)Builds the signature control flow graph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeMemberDescriptorgetDescriptor()Yields theCodeMemberDescriptorcontaining the signature of this code member.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.unive.lisa.program.cfg.CodeMember
validate
-
-
-
-
Constructor Detail
-
AbstractCodeMember
public AbstractCodeMember(CodeMemberDescriptor descriptor)
Builds the signature control flow graph.- Parameters:
descriptor- the descriptor of this signature cfg
-
-
Method Detail
-
getDescriptor
public CodeMemberDescriptor getDescriptor()
Description copied from interface:CodeMemberYields theCodeMemberDescriptorcontaining the signature of this code member.- Specified by:
getDescriptorin interfaceCodeMember- Returns:
- the descriptor of this code member
-
-