return tree.getConstructorType() == Factory.Tree_Appl;
}
private static int findLabelPosition(IConstructor tree, String label) {
if (!TreeAdapter.isAppl(tree)) {
throw new ImplementationError("can not call getArg on a non-tree");
}
IConstructor prod = TreeAdapter.getProduction(tree);
if (!ProductionAdapter.isDefault(prod)) {