ResourceMethods are detected in constructor of ReflectiveComponent.