Package soot.dotnet.members
Class DotnetEvent
- java.lang.Object
-
- soot.dotnet.members.AbstractDotnetMember
-
- soot.dotnet.members.DotnetEvent
-
- All Implemented Interfaces:
DotnetTypeMember
public class DotnetEvent extends AbstractDotnetMember
Represents a .NET Event (Member) SourceLocator -> ClassProvider -> ClassSource -> MethodSource (DotnetEvent, DotnetMethod) An event consists of a add, invoke and remove method (directive)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDotnetEvent.EventDirective
-
Constructor Summary
Constructors Constructor Description DotnetEvent(ProtoAssemblyAllTypes.EventDefinition protoEvent, SootClass declaringClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCanAdd()booleangetCanInvoke()booleangetCanRemove()SootMethodmakeSootMethodAdd()SootMethodmakeSootMethodInvoke()SootMethodmakeSootMethodRemove()-
Methods inherited from class soot.dotnet.members.AbstractDotnetMember
checkRewriteCilSpecificMember
-
-
-
-
Constructor Detail
-
DotnetEvent
public DotnetEvent(ProtoAssemblyAllTypes.EventDefinition protoEvent, SootClass declaringClass)
-
-
Method Detail
-
getCanAdd
public boolean getCanAdd()
-
getCanInvoke
public boolean getCanInvoke()
-
getCanRemove
public boolean getCanRemove()
-
makeSootMethodAdd
public SootMethod makeSootMethodAdd()
-
makeSootMethodInvoke
public SootMethod makeSootMethodInvoke()
-
makeSootMethodRemove
public SootMethod makeSootMethodRemove()
-
-