code: public ResolvedFeatures getResolvedFeatures(JvmDeclaredType type) {
  		ITypeReferenceOwner owner = new StandardTypeReferenceOwner(services, type.eResource().getResourceSet());
  		LightweightTypeReference contextType = owner.toLightweightTypeReference(type);
  		return getResolvedFeatures(contextType);
  	}
docs: Returns the resolved features that are defined in the given <code>type</code> and its supertypes.
  Considers private methods of super types, too.
  @param type the type. Has to be contained in a resource.
  @return the resolved features.