} else if (JavaLanguageElement.Field.name().equals(type) || JavaLanguageElement.MethodInvocation.name().equals(type)
|| JavaLanguageElement.ReadField.name().equals(type) || JavaLanguageElement.WriteField.name().equals(type)
|| JavaLanguageElement.MethodInvocation.name().equals(type)) {
return new JavaFile(name.split("#")[0]);
} else if (JavaLanguageElement.Package.name().equals(type)) {
return new JavaPackage(name);
}
return null;
}