org.eclipse.modisco.jee.queries.annotations.ejb
Class IsPreDestroy

java.lang.Object
  extended by org.eclipse.modisco.jee.queries.annotations.ejb.IsPreDestroy
All Implemented Interfaces:
IJavaModelQuery<MethodDeclaration,java.lang.Boolean>

public class IsPreDestroy
extends java.lang.Object
implements IJavaModelQuery<MethodDeclaration,java.lang.Boolean>


Constructor Summary
IsPreDestroy()
           
 
Method Summary
 java.lang.Boolean evaluate(MethodDeclaration context, ParameterValueList parameterValues)
          This method must be overridden by each sub class to implement query evaluation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsPreDestroy

public IsPreDestroy()
Method Detail

evaluate

public java.lang.Boolean evaluate(MethodDeclaration context,
                                  ParameterValueList parameterValues)
                           throws ModelQueryExecutionException
Description copied from interface: IJavaModelQuery
This method must be overridden by each sub class to implement query evaluation.

Specified by:
evaluate in interface IJavaModelQuery<MethodDeclaration,java.lang.Boolean>
Parameters:
context - The query evaluation context
parameterValues - The query parameter values
Returns:
the result of the type R
Throws:
ModelQueryExecutionException