public Reference getReferenceAlias(Reference ref) {
		Reference alias = (Reference) aliasesHash.get(ref);
		if (alias == null) {
			Identifier ident = getIdentifier(ref);
			String newType = getTypeAlias(ref.getType());
			if (ident == null)
				alias = Reference.getReference(ref.getClazz(), ref.getName(),
						newType);
			else
				alias = Reference.getReference("L"
						+ ident.getParent().getFullAlias().replace('.', '/')
						+ ';', ident.getAlias(), newType);
			aliasesHash.put(ref, alias);
		}
		return alias;
	}