io.sarl.sre.janus.internal.eventguard.reflect
Class GenericMethodProxy
@org.eclipse.xtext.xbase.lib.XbaseGenerated
class GenericMethodProxy
extends MethodProxy
It stores the information related to a given method.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.14
Property Summary
Modifier and type Property and description
java.lang.reflect.Method genericTypeMatchingMethod
java.lang.Class<T> genericTypes
Inherited: guardMethod
Constructor Summary
Constructor and description
new(Method,Method,Class<T>)
Creates a new method identifier according to the name and the list of parameter types of the considered method.
Action Summary
Modifier and type Action and description
boolean equals(Object)
java.lang.reflect.Method getGenericTypeMatchingMethod
java.lang.Class<T> getGenericTypes
int hashCode
boolean matchesGenericTypes(Object)
Replies if the given event matches the generic types.
Inherited: getGuardMethod, toString
Property Details
genericTypeMatchingMethod
val genericTypeMatchingMethod : java.lang.reflect.Method

This property is an alias for the action: getGenericTypeMatchingMethod

genericTypes
val genericTypes : java.lang.Class<T>

This property is an alias for the action: getGenericTypes

Constructor Details
new(Method,Method,Class<T>)
new(Method,Method,Class<T>)
Creates a new method identifier according to the name and the list of parameter types of the considered method.
Parameters:
guardMethod - - the name of the method to be invoked for evaluating the guard.
genericTypeMatchingMethod - - the name of the method for testing the generic type matching for the event
genericTypes - - The list of the type of the various parameters of the considered method.
Action Details
equals(Object)
def equals(Object) : boolean
getGenericTypeMatchingMethod
def getGenericTypeMatchingMethod : java.lang.reflect.Method
getGenericTypes
def getGenericTypes : java.lang.Class<T>
hashCode
def hashCode : int
matchesGenericTypes(Object)
def matchesGenericTypes(Object) : boolean
Replies if the given event matches the generic types.
Parameters:
event - the event to test.
Returns:
true if the event matches the generic types.