.getModuleDeclaration(sourceModule);
if (moduleDeclaration != null) {
IContext context = ASTUtils.findContext(sourceModule,
moduleDeclaration, offset);
if (context instanceof MethodContext) {
IEvaluatedType instanceType = ((MethodContext) context)
.getInstanceType();
if (instanceType instanceof PHPClassType) {
PHPClassType classType = (PHPClassType) instanceType;
String typeName = classType.getTypeName();
String namespace = classType.getNamespace();