private Method lookupSubstitute(){
  for (  Method m : declaringClass.getDeclaredMethods()) {
    if (isSubstitute(m)) {
      return m;
    }
  }
  throw new GraalError("No method found specified by %s",this);
}

private Method lookupSubstitute ( ) { for ( Method m : declaringClass . getDeclaredMethods ( ) ) { if ( isSubstitute ( m ) ) { return m ; } } throw new GraalError ( "No method found specified by %s" , this ) ; }
gets the substitute method of this plugin .
