protected int transform(JavaMethod javaMethod, List tokens, int i) {
		JavaIdentifier token = (JavaIdentifier)tokens.get(i);
		if (i < tokens.size() - 1 && ((tokens.get(i + 1) instanceof JavaCallStart) || (tokens.get(i+1) instanceof JavaIdentifier))) {
			return i;
		}
		if (i > 0) {
			JavaToken pre = (JavaToken) tokens.get(i - 1);
			if ((pre instanceof JavaKeyword) && pre.value.equals("instanceof")) {
				return i;
			}
		}
		if (javaMethod.javaClass.javaCodebase.packageLookup.get(token.value) != null && (i >= tokens.size() || !((JavaToken)tokens.get(i+1)).value.equals("class"))) {
			tokens.add(i, new JavaIdentifier("AboraSupport"));
			tokens.add(i+1, new JavaCallKeywordStart("findCategory"));
			// classname
			tokens.add(i + 3, new JavaIdentifier("class"));
			tokens.add(i+4, new JavaCallEnd());
		}
		return i;
	}