Home | History | Annotate | Download | only in gre

Lines Matching defs:fqcn

151         // try to find a rule for this element's FQCN
179 // try to find a rule for this element's FQCN
203 // try to find a rule for this element's FQCN
227 // try to find a rule for this element's FQCN
253 // try to find a rule for this element's FQCN
276 // try to find a rule for this element's FQCN
298 // try to find a rule for this element's FQCN
347 // keys (e.g. the UiViewElementNode key vs. the FQCN string key.) So transfer
368 * actual FQCN and if that fails will find the first parent that works in the view
397 // Get the FQCN of this View
398 String fqcn = desc.getFullClassName();
399 if (fqcn == null) {
403 // The first time we keep the FQCN around as it's the target class we were
405 // target FQCN remains constant.
407 targetFqcn = fqcn;
410 // Try to find a rule matching the "real" FQCN. If we find it, we're done.
412 rule = loadRule(fqcn, targetFqcn);
415 // As a side effect, loadRule() also cached the rule using the target FQCN.
426 * Try to load a rule given a specific FQCN. This looks for an exact match in either
429 * Once a rule is found (or not), it is stored in a cache using its target FQCN
432 * The real FQCN is the actual groovy filename we're loading, e.g. "android.view.View.groovy"
433 * where target FQCN is the class we were initially looking for, which might be the same as
434 * the real FQCN or might be a derived class, e.g. "android.widget.TextView".
436 * @param realFqcn The FQCN of the groovy rule actually being loaded.
437 * @param targetFqcn The FQCN
438 * the FQCN of the rule being loaded.
485 // Memorize in the cache that we couldn't find a rule for this real FQCN
491 * Initialize a rule we just loaded. The rule has a chance to examine the target FQCN
495 * cache it using the target FQCN if the rule is accepted.
497 * The real FQCN is the actual groovy filename we're loading, e.g. "android.view.View.groovy"
498 * where target FQCN is the class we were initially looking for, which might be the same as
499 * the real FQCN or might be a derived class, e.g. "android.widget.TextView".
502 * @param targetFqcn The FQCN of the class actually processed, which might be different from
503 * the FQCN of the rule being loaded.
504 * @return The rule if accepted, or null if the rule can't handle that FQCN.
530 * @param fqcn The class name, for display purposes only.
537 private IViewRule loadStream(InputStream is, String fqcn, String codeBase) {
548 GroovyCodeSource source = new GroovyCodeSource(reader, fqcn, codeBase);
557 logError("Compilation error in %1$s:%2$s.groovy: %3$s", codeBase, fqcn, e.toString());
559 logError("Script %1$s:%2$s.groovy does not implement IViewRule", codeBase, fqcn);
561 logError("Failed to use %1$s:%2$s.groovy: %3$s", codeBase, fqcn, e.toString());